Add objects table manually to tests

velioglu/wo_seq_test_1
Burak Velioglu 2022-01-20 00:51:18 +03:00
parent 09cfb24b16
commit 09764d6db3
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
1 changed files with 4 additions and 2 deletions

View File

@ -497,8 +497,10 @@ 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; -- before adding the node, add the pg_dist_object entry for objects table
set citus.worker_min_messages to debug4; -- manually. Since that table was created with master_create_distributed_table
-- we don't have the entry for it.
INSERT INTO citus.pg_dist_object(classid, objid, objsubid) values('pg_class'::regclass::oid, 'objects'::regclass::oid, 0);
SELECT 1 FROM master_activate_node('localhost', :worker_1_port); SELECT 1 FROM master_activate_node('localhost', :worker_1_port);
RESET client_min_messages; RESET client_min_messages;
RESET citus.shard_replication_factor; RESET citus.shard_replication_factor;