matrixorigin / matrixone

Hyperconverged cloud-edge native database
https://docs.matrixorigin.cn/en
Apache License 2.0
1.71k stars 265 forks source link

[Subtask]: support sharding migration #16541

Open zhangxu19830126 opened 1 month ago

zhangxu19830126 commented 1 month ago

Parent Issue

16438

Detail of Subtask

Support sharding migration:

  1. use workState to migrate
  2. report sharding count to hakeeper

if shardingCount == 0, means sharding migration completed

Describe implementation you've considered

No response

Additional information

No response

aylei commented 2 weeks ago
  1. call HAKeeper to drain CN
  2. check shardCount <= 0