citus icon indicating copy to clipboard operation
citus copied to clipboard

The exception that occurs after the worker node is removed

Open TsinghuaLucky912 opened this issue 2 years ago • 0 comments

pg14.4 + citus11.0 : the same machine centos7

  1. ~/.pgpass is already configured

  2. master 5432 create table t1(id int); set citus.shard_count to 2; select create_distributed_table('t1', 'id'); insert into t1 select generate_series(1, 10);

  3. Initialize worker 5433

  4. The master adds workers and rebalances select citus_add_node('localhost', 5433); SELECT rebalance_table_shards(shard_transfer_mode:='block_writes');

  5. The master flows away the above shard and removes the worker select citus_drain_node('localhost', 5433); select citus_remove_node('localhost', 5433);

Note: all of the above are OK

  1. drop table t1 on the master; but t1 on worker 5433 cannot be deleted and cannot be accessed

lALPJw1WS8xxClbNA-rNB4A_1920_1002

TsinghuaLucky912 avatar Jul 13 '22 14:07 TsinghuaLucky912