mirror of https://github.com/citusdata/citus.git
219 lines
9.8 KiB
Plaintext
219 lines
9.8 KiB
Plaintext
Parsed test spec with 3 sessions
|
|
|
|
starting permutation: s1-begin s2-begin s3-begin s1-alter-table s2-sleep s2-view-dist s3-view-worker s2-rollback s1-commit s3-rollback
|
|
create_distributed_table
|
|
|
|
|
|
step s1-begin:
|
|
BEGIN;
|
|
|
|
step s2-begin:
|
|
BEGIN;
|
|
|
|
step s3-begin:
|
|
BEGIN;
|
|
|
|
step s1-alter-table:
|
|
ALTER TABLE test_table ADD COLUMN x INT;
|
|
|
|
step s2-sleep:
|
|
SELECT pg_sleep(0.2);
|
|
|
|
pg_sleep
|
|
|
|
|
|
step s2-view-dist:
|
|
SELECT query, query_hostname, query_hostport, master_query_host_name, master_query_host_port, state, wait_event_type, wait_event, usename, datname FROM citus_dist_stat_activity ORDER BY query DESC;
|
|
|
|
|
|
query query_hostname query_hostport master_query_host_namemaster_query_host_portstate wait_event_typewait_event usename datname
|
|
|
|
|
|
ALTER TABLE test_table ADD COLUMN x INT;
|
|
coordinator_host57636 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
step s3-view-worker:
|
|
SELECT query, query_hostname, query_hostport, master_query_host_name, master_query_host_port, state, wait_event_type, wait_event, usename, datname FROM citus_worker_stat_activity ORDER BY query DESC;
|
|
|
|
query query_hostname query_hostport master_query_host_namemaster_query_host_portstate wait_event_typewait_event usename datname
|
|
|
|
SELECT worker_apply_shard_ddl_command (105961, 'public', '
|
|
ALTER TABLE test_table ADD COLUMN x INT;
|
|
')localhost 57638 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
SELECT worker_apply_shard_ddl_command (105960, 'public', '
|
|
ALTER TABLE test_table ADD COLUMN x INT;
|
|
')localhost 57637 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
SELECT worker_apply_shard_ddl_command (105959, 'public', '
|
|
ALTER TABLE test_table ADD COLUMN x INT;
|
|
')localhost 57638 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
SELECT worker_apply_shard_ddl_command (105958, 'public', '
|
|
ALTER TABLE test_table ADD COLUMN x INT;
|
|
')localhost 57637 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
SELECT gid FROM pg_prepared_xacts WHERE gid LIKE 'citus\_0\_%'localhost 57638 0 idle Client ClientRead postgres regression
|
|
SELECT gid FROM pg_prepared_xacts WHERE gid LIKE 'citus\_0\_%'localhost 57637 0 idle Client ClientRead postgres regression
|
|
step s2-rollback:
|
|
ROLLBACK;
|
|
|
|
step s1-commit:
|
|
COMMIT;
|
|
|
|
step s3-rollback:
|
|
ROLLBACK;
|
|
|
|
|
|
starting permutation: s1-begin s2-begin s3-begin s1-insert s2-sleep s2-view-dist s3-view-worker s2-rollback s1-commit s3-rollback
|
|
create_distributed_table
|
|
|
|
|
|
step s1-begin:
|
|
BEGIN;
|
|
|
|
step s2-begin:
|
|
BEGIN;
|
|
|
|
step s3-begin:
|
|
BEGIN;
|
|
|
|
step s1-insert:
|
|
INSERT INTO test_table VALUES (100, 100);
|
|
|
|
step s2-sleep:
|
|
SELECT pg_sleep(0.2);
|
|
|
|
pg_sleep
|
|
|
|
|
|
step s2-view-dist:
|
|
SELECT query, query_hostname, query_hostport, master_query_host_name, master_query_host_port, state, wait_event_type, wait_event, usename, datname FROM citus_dist_stat_activity ORDER BY query DESC;
|
|
|
|
|
|
query query_hostname query_hostport master_query_host_namemaster_query_host_portstate wait_event_typewait_event usename datname
|
|
|
|
|
|
INSERT INTO test_table VALUES (100, 100);
|
|
coordinator_host57636 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
step s3-view-worker:
|
|
SELECT query, query_hostname, query_hostport, master_query_host_name, master_query_host_port, state, wait_event_type, wait_event, usename, datname FROM citus_worker_stat_activity ORDER BY query DESC;
|
|
|
|
query query_hostname query_hostport master_query_host_namemaster_query_host_portstate wait_event_typewait_event usename datname
|
|
|
|
SELECT gid FROM pg_prepared_xacts WHERE gid LIKE 'citus\_0\_%'localhost 57638 0 idle Client ClientRead postgres regression
|
|
SELECT gid FROM pg_prepared_xacts WHERE gid LIKE 'citus\_0\_%'localhost 57637 0 idle Client ClientRead postgres regression
|
|
INSERT INTO public.test_table_105964 (column1, column2) VALUES (100, 100)localhost 57637 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
step s2-rollback:
|
|
ROLLBACK;
|
|
|
|
step s1-commit:
|
|
COMMIT;
|
|
|
|
step s3-rollback:
|
|
ROLLBACK;
|
|
|
|
|
|
starting permutation: s1-begin s2-begin s3-begin s1-select s2-sleep s2-view-dist s3-view-worker s2-rollback s1-commit s3-rollback
|
|
create_distributed_table
|
|
|
|
|
|
step s1-begin:
|
|
BEGIN;
|
|
|
|
step s2-begin:
|
|
BEGIN;
|
|
|
|
step s3-begin:
|
|
BEGIN;
|
|
|
|
step s1-select:
|
|
SELECT count(*) FROM test_table;
|
|
|
|
count
|
|
|
|
0
|
|
step s2-sleep:
|
|
SELECT pg_sleep(0.2);
|
|
|
|
pg_sleep
|
|
|
|
|
|
step s2-view-dist:
|
|
SELECT query, query_hostname, query_hostport, master_query_host_name, master_query_host_port, state, wait_event_type, wait_event, usename, datname FROM citus_dist_stat_activity ORDER BY query DESC;
|
|
|
|
|
|
query query_hostname query_hostport master_query_host_namemaster_query_host_portstate wait_event_typewait_event usename datname
|
|
|
|
|
|
SELECT count(*) FROM test_table;
|
|
coordinator_host57636 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
step s3-view-worker:
|
|
SELECT query, query_hostname, query_hostport, master_query_host_name, master_query_host_port, state, wait_event_type, wait_event, usename, datname FROM citus_worker_stat_activity ORDER BY query DESC;
|
|
|
|
query query_hostname query_hostport master_query_host_namemaster_query_host_portstate wait_event_typewait_event usename datname
|
|
|
|
SELECT gid FROM pg_prepared_xacts WHERE gid LIKE 'citus\_0\_%'localhost 57638 0 idle Client ClientRead postgres regression
|
|
SELECT gid FROM pg_prepared_xacts WHERE gid LIKE 'citus\_0\_%'localhost 57637 0 idle Client ClientRead postgres regression
|
|
COPY (SELECT count(*) AS count FROM test_table_105969 test_table WHERE true) TO STDOUTlocalhost 57638 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
COPY (SELECT count(*) AS count FROM test_table_105968 test_table WHERE true) TO STDOUTlocalhost 57637 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
COPY (SELECT count(*) AS count FROM test_table_105967 test_table WHERE true) TO STDOUTlocalhost 57638 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
COPY (SELECT count(*) AS count FROM test_table_105966 test_table WHERE true) TO STDOUTlocalhost 57637 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
step s2-rollback:
|
|
ROLLBACK;
|
|
|
|
step s1-commit:
|
|
COMMIT;
|
|
|
|
step s3-rollback:
|
|
ROLLBACK;
|
|
|
|
|
|
starting permutation: s1-begin s2-begin s3-begin s1-select-router s2-sleep s2-view-dist s3-view-worker s2-rollback s1-commit s3-rollback
|
|
create_distributed_table
|
|
|
|
|
|
step s1-begin:
|
|
BEGIN;
|
|
|
|
step s2-begin:
|
|
BEGIN;
|
|
|
|
step s3-begin:
|
|
BEGIN;
|
|
|
|
step s1-select-router:
|
|
SELECT count(*) FROM test_table WHERE column1 = 55;
|
|
|
|
count
|
|
|
|
0
|
|
step s2-sleep:
|
|
SELECT pg_sleep(0.2);
|
|
|
|
pg_sleep
|
|
|
|
|
|
step s2-view-dist:
|
|
SELECT query, query_hostname, query_hostport, master_query_host_name, master_query_host_port, state, wait_event_type, wait_event, usename, datname FROM citus_dist_stat_activity ORDER BY query DESC;
|
|
|
|
|
|
query query_hostname query_hostport master_query_host_namemaster_query_host_portstate wait_event_typewait_event usename datname
|
|
|
|
|
|
SELECT count(*) FROM test_table WHERE column1 = 55;
|
|
coordinator_host57636 coordinator_host57636 idle in transactionClient ClientRead postgres regression
|
|
step s3-view-worker:
|
|
SELECT query, query_hostname, query_hostport, master_query_host_name, master_query_host_port, state, wait_event_type, wait_event, usename, datname FROM citus_worker_stat_activity ORDER BY query DESC;
|
|
|
|
query query_hostname query_hostport master_query_host_namemaster_query_host_portstate wait_event_typewait_event usename datname
|
|
|
|
SELECT gid FROM pg_prepared_xacts WHERE gid LIKE 'citus\_0\_%'localhost 57638 0 idle Client ClientRead postgres regression
|
|
SELECT gid FROM pg_prepared_xacts WHERE gid LIKE 'citus\_0\_%'localhost 57637 0 idle Client ClientRead postgres regression
|
|
SELECT count(*) AS count FROM public.test_table_105971 test_table WHERE (column1 OPERATOR(pg_catalog.=) 55)localhost 57638 0 idle Client ClientRead postgres regression
|
|
COMMIT localhost 57637 0 idle Client ClientRead postgres regression
|
|
step s2-rollback:
|
|
ROLLBACK;
|
|
|
|
step s1-commit:
|
|
COMMIT;
|
|
|
|
step s3-rollback:
|
|
ROLLBACK;
|
|
|