Add TODOs

velioglu/wo_seq_test_1
Burak Velioglu 2021-12-22 21:40:04 +03:00
parent 6705f0c612
commit a448ca01bc
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
3 changed files with 4 additions and 3 deletions

View File

@ -35,6 +35,7 @@ FOR EACH ROW EXECUTE FUNCTION dummy_function();
-- Show that we can sync metadata successfully. That means, we create -- Show that we can sync metadata successfully. That means, we create
-- the function that trigger needs in mx workers too. -- the function that trigger needs in mx workers too.
-- TODO: Metadata sync won't propagate objects anymore
SELECT start_metadata_sync_to_node('localhost', :worker_1_port); SELECT start_metadata_sync_to_node('localhost', :worker_1_port);
CREATE EXTENSION seg; CREATE EXTENSION seg;

View File

@ -15,6 +15,8 @@ SET citus.shard_replication_factor TO 1;
CREATE TABLE t1 (a int, b int, c int UNIQUE); CREATE TABLE t1 (a int, b int, c int UNIQUE);
SELECT create_distributed_table('t1', 'c'); SELECT create_distributed_table('t1', 'c');
ALTER TABLE t1 DROP COLUMN b; ALTER TABLE t1 DROP COLUMN b;
-- Syncing metadata won't propagate t1
SELECT start_metadata_sync_to_node('localhost',:worker_1_port); SELECT start_metadata_sync_to_node('localhost',:worker_1_port);
SELECT start_metadata_sync_to_node('localhost',:worker_2_port); SELECT start_metadata_sync_to_node('localhost',:worker_2_port);

View File

@ -78,10 +78,8 @@ SELECT master_get_active_worker_nodes();
-- try to disable a node which does not exist and see that an error is thrown -- try to disable a node which does not exist and see that an error is thrown
SELECT citus_disable_node('localhost.noexist', 2345); SELECT citus_disable_node('localhost.noexist', 2345);
table pg_dist_node;
\d
-- drop the table without leaving a shard placement behind (messes up other tests) -- drop the table without leaving a shard placement behind (messes up other tests)
-- TODO: Replication ref table multiple times
SELECT master_activate_node('localhost', :worker_2_port); SELECT master_activate_node('localhost', :worker_2_port);
DROP TABLE test_reference_table, cluster_management_test; DROP TABLE test_reference_table, cluster_management_test;