-
Notifications
You must be signed in to change notification settings - Fork 4.1k
upgrades: make raftAppliedIndexTermMigration more robust #84073
Copy link
Copy link
Closed
Labels
A-kv-replicationRelating to Raft, consensus, and coordination.Relating to Raft, consensus, and coordination.O-qa
Description
raftAppliedIndexTermMigration runs a below-Raft migration, using `IterateRangeDescriptors. This has a few issues:
-
It fetches a list of ranges, and then iterates across them. If iteration takes a while, then ranges can disappear in the meanwhile, failing the entire migration. We need to handle this.
-
The
Migraterequest requires all replicas for all ranges to be available. If even a single replica is lagging, it will fail the whole migration. The migration should at the very least have retries, ideally checkpointing.
Related to #72931.
Jira issue: CRDB-17446
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-kv-replicationRelating to Raft, consensus, and coordination.Relating to Raft, consensus, and coordination.O-qa