pull/7247/head
Onur Tirtir 2023-10-05 17:45:47 +03:00
parent ad01cc9f1b
commit 95c19530e6
2 changed files with 3 additions and 0 deletions

View File

@ -2204,6 +2204,7 @@ SELECT * FROM pg_dist_rebalance_strategy WHERE name='test_improvement_threshold'
test_improvement_threshold | f | citus_shard_cost_1 | capacity_high_worker_2 | citus_shard_allowed_on_node_true | 0.2 | 0.1 | 0.3
(1 row)
DELETE FROM pg_catalog.pg_dist_rebalance_strategy WHERE name='test_improvement_threshold';
-- Make it a data node again
SELECT * from master_set_node_property('localhost', :worker_2_port, 'shouldhaveshards', true);
master_set_node_property

View File

@ -1241,6 +1241,8 @@ SELECT citus_add_rebalance_strategy(
SELECT * FROM pg_dist_rebalance_strategy WHERE name='test_improvement_threshold';
DELETE FROM pg_catalog.pg_dist_rebalance_strategy WHERE name='test_improvement_threshold';
-- Make it a data node again
SELECT * from master_set_node_property('localhost', :worker_2_port, 'shouldhaveshards', true);
DROP TABLE tab;