mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-12-04 00:15:29 +00:00
* feat(meta-srv): support plugin-backed follower migration Signed-off-by: WenyXu <wenymedia@gmail.com> * feat(meta-srv): drain followers through migration factory trait Signed-off-by: WenyXu <wenymedia@gmail.com> * refactor(meta-srv): isolate and batch follower migration Signed-off-by: WenyXu <wenymedia@gmail.com> * refactor(meta-srv): filter drain candidates by region role Signed-off-by: WenyXu <wenymedia@gmail.com> * fix(meta-srv): guard migration route checks and retry drain placement Acquire migration guards before validating source and destination peers and pass them to the follower procedure. Drain retries when another source is migrating the region and reselects an automatic target that has become occupied. Signed-off-by: WenyXu <wenymedia@gmail.com> * fix(meta-srv): skip running migrations and count drained regions by role Signed-off-by: WenyXu <wenymedia@gmail.com> * fix(meta-srv): revisit busy regions and isolate drain batch failures Signed-off-by: WenyXu <wenymedia@gmail.com> * fix(meta-srv): bound drain retries for busy regions Signed-off-by: WenyXu <wenymedia@gmail.com> * fix(meta-srv): reconcile drain failures by supported region role Signed-off-by: WenyXu <wenymedia@gmail.com> --------- Signed-off-by: WenyXu <wenymedia@gmail.com>