multi_modifying_xacts: don't differ in output if reference table select tries broken worker first

pull/2871/head
Philip Dubé 2019-07-25 23:58:58 +00:00
parent 546b71ac18
commit 7992077fd9
3 changed files with 6 additions and 0 deletions

View File

@ -1186,11 +1186,13 @@ COPY reference_failure_test FROM STDIN WITH (FORMAT 'csv');
ERROR: connection error: localhost:57637 ERROR: connection error: localhost:57637
COMMIT; COMMIT;
-- show that no data go through the table and shard states are good -- show that no data go through the table and shard states are good
SET client_min_messages to 'ERROR';
SELECT * FROM reference_failure_test; SELECT * FROM reference_failure_test;
key | value key | value
-----+------- -----+-------
(0 rows) (0 rows)
RESET client_min_messages;
-- all placements should be healthy -- all placements should be healthy
SELECT s.logicalrelid::regclass::text, sp.shardstate, count(*) SELECT s.logicalrelid::regclass::text, sp.shardstate, count(*)
FROM pg_dist_shard_placement AS sp, FROM pg_dist_shard_placement AS sp,

View File

@ -1188,11 +1188,13 @@ COPY reference_failure_test FROM STDIN WITH (FORMAT 'csv');
ERROR: connection error: localhost:57637 ERROR: connection error: localhost:57637
COMMIT; COMMIT;
-- show that no data go through the table and shard states are good -- show that no data go through the table and shard states are good
SET client_min_messages to 'ERROR';
SELECT * FROM reference_failure_test; SELECT * FROM reference_failure_test;
key | value key | value
-----+------- -----+-------
(0 rows) (0 rows)
RESET client_min_messages;
-- all placements should be healthy -- all placements should be healthy
SELECT s.logicalrelid::regclass::text, sp.shardstate, count(*) SELECT s.logicalrelid::regclass::text, sp.shardstate, count(*)
FROM pg_dist_shard_placement AS sp, FROM pg_dist_shard_placement AS sp,

View File

@ -923,7 +923,9 @@ COPY reference_failure_test FROM STDIN WITH (FORMAT 'csv');
COMMIT; COMMIT;
-- show that no data go through the table and shard states are good -- show that no data go through the table and shard states are good
SET client_min_messages to 'ERROR';
SELECT * FROM reference_failure_test; SELECT * FROM reference_failure_test;
RESET client_min_messages;
-- all placements should be healthy -- all placements should be healthy