Closed ZuLiangWang closed 2 years ago
Closes #
To manage the scheduling of shards, we need to generate and manage the ID of shards just like Table.
Add ShardID allocator for every cluster instance
None
Reuse the existing allocator implementation, and unit tests already exist.
Which issue does this PR close?
Closes #
Rationale for this change
To manage the scheduling of shards, we need to generate and manage the ID of shards just like Table.
What changes are included in this PR?
Add ShardID allocator for every cluster instance
Are there any user-facing changes?
None
How does this change test
Reuse the existing allocator implementation, and unit tests already exist.