mirror of https://github.com/citusdata/citus.git
124 lines
2.6 KiB
Plaintext
124 lines
2.6 KiB
Plaintext
Parsed test spec with 2 sessions
|
|
|
|
starting permutation: s1-begin s1-insert s2-update s1-commit
|
|
master_create_worker_shards
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-begin:
|
|
BEGIN;
|
|
|
|
step s1-insert:
|
|
INSERT INTO test_concurrent_dml VALUES(1);
|
|
|
|
step s2-update:
|
|
UPDATE test_concurrent_dml SET data = 'blarg' WHERE test_id = 1;
|
|
<waiting ...>
|
|
step s1-commit:
|
|
COMMIT;
|
|
|
|
step s2-update: <... completed>
|
|
restore_isolation_tester_func
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
|
|
starting permutation: s1-insert s2-update
|
|
master_create_worker_shards
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-insert:
|
|
INSERT INTO test_concurrent_dml VALUES(1);
|
|
|
|
step s2-update:
|
|
UPDATE test_concurrent_dml SET data = 'blarg' WHERE test_id = 1;
|
|
|
|
restore_isolation_tester_func
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
|
|
starting permutation: s1-begin s1-multi-insert s2-update s1-commit
|
|
master_create_worker_shards
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-begin:
|
|
BEGIN;
|
|
|
|
step s1-multi-insert:
|
|
INSERT INTO test_concurrent_dml VALUES (1), (2);
|
|
|
|
step s2-update:
|
|
UPDATE test_concurrent_dml SET data = 'blarg' WHERE test_id = 1;
|
|
<waiting ...>
|
|
step s1-commit:
|
|
COMMIT;
|
|
|
|
step s2-update: <... completed>
|
|
restore_isolation_tester_func
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
|
|
starting permutation: s1-begin s1-multi-insert s2-multi-insert-overlap s1-commit
|
|
master_create_worker_shards
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-begin:
|
|
BEGIN;
|
|
|
|
step s1-multi-insert:
|
|
INSERT INTO test_concurrent_dml VALUES (1), (2);
|
|
|
|
step s2-multi-insert-overlap:
|
|
INSERT INTO test_concurrent_dml VALUES (1), (4);
|
|
|
|
step s1-commit:
|
|
COMMIT;
|
|
|
|
restore_isolation_tester_func
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
|
|
starting permutation: s1-begin s2-begin s1-multi-insert s2-multi-insert s1-commit s2-commit
|
|
master_create_worker_shards
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|
|
step s1-begin:
|
|
BEGIN;
|
|
|
|
step s2-begin:
|
|
BEGIN;
|
|
|
|
step s1-multi-insert:
|
|
INSERT INTO test_concurrent_dml VALUES (1), (2);
|
|
|
|
step s2-multi-insert:
|
|
INSERT INTO test_concurrent_dml VALUES (3), (4);
|
|
|
|
step s1-commit:
|
|
COMMIT;
|
|
|
|
step s2-commit:
|
|
COMMIT;
|
|
|
|
restore_isolation_tester_func
|
|
---------------------------------------------------------------------
|
|
|
|
(1 row)
|
|
|