incubator-horaedb-meta icon indicating copy to clipboard operation
incubator-horaedb-meta copied to clipboard

Disable create tables before the shards of the cluster are fully allocated

Open ZuLiangWang opened this issue 2 years ago • 0 comments

Description In the current implementation, shards will start to be allocated when the number of nodes reaches the threshold, but only some shards are available for a period of time from the beginning to the completion of shards allocation. If there is a table creation request at this time, tables will be created on the allocated shards, it may result in uneven distribution of tables.

Proposal Only after all the shards in the cluster are allocated can the table creation request be processed.

Additional context

ZuLiangWang avatar May 11 '23 07:05 ZuLiangWang