Add log to isolation test

velioglu/wo_seq_test_1
Burak Velioglu 2022-01-17 17:48:01 +03:00
parent a2c963daa0
commit bf6b7b518e
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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();