mirror of https://github.com/citusdata/citus.git
multi_modifying_xacts: don't differ in output if reference table select tries broken worker first
parent
546b71ac18
commit
7992077fd9
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue