mirror of https://github.com/citusdata/citus.git
Add log to isolation test
parent
a2c963daa0
commit
bf6b7b518e
|
@ -497,7 +497,12 @@ SELECT shardid, nodename, nodeport
|
||||||
WHERE logicalrelid = 'numbers_append'::regclass order by placementid;
|
WHERE logicalrelid = 'numbers_append'::regclass order by placementid;
|
||||||
|
|
||||||
-- add the node back
|
-- add the node back
|
||||||
|
SET citus.log_remote_commands to true;
|
||||||
|
SET citus.worker_min_messages to debug4;
|
||||||
|
set client_min_messages to debug4;
|
||||||
SELECT 1 FROM master_activate_node('localhost', :worker_1_port);
|
SELECT 1 FROM master_activate_node('localhost', :worker_1_port);
|
||||||
|
reset citus.log_remote_commands;
|
||||||
|
reset citus.worker_min_messages;
|
||||||
RESET client_min_messages;
|
RESET client_min_messages;
|
||||||
RESET citus.shard_replication_factor;
|
RESET citus.shard_replication_factor;
|
||||||
-- add two new shards and verify they are created at both workers
|
-- add two new shards and verify they are created at both workers
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
setup
|
setup
|
||||||
{
|
{
|
||||||
|
SET citus.log_remote_commands to true;
|
||||||
|
SET citus.worker_min_messages to debug4;
|
||||||
|
set client_min_messages to debug4;
|
||||||
SELECT citus_internal.replace_isolation_tester_func();
|
SELECT citus_internal.replace_isolation_tester_func();
|
||||||
SELECT citus_internal.refresh_isolation_tester_prepared_statement();
|
SELECT citus_internal.refresh_isolation_tester_prepared_statement();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue