-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
CAR Team 2026-07-06
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
When a legacy chunk migration fails during failover, a refresh is executed during upgrade. That refresh does not acquire an ActiveMigrationsRegistry slot, which can cause the setFCV upgrade process to overlook the persisted migration document.
We need to ensure that:
- any legacy migration document is removed during a setFCV upgrade
- any migration recovery process is drained during a setFCV upgrade
- bump the ShardVersion on the config server if a migration document exists. Note that during a normal legacy migration recovery process launched at step up the ShardVersion gets bumped to ensure that a lagging command trying to commit a chunk migration on the config server succeeds. Therefore, if a migration is being recovered during a setFCV upgrade, we need to ensure that this bump is done.
- is depended on by
-
SERVER-125984 Remove the CSR setNonAuthoritative() call before _configsvrEnsureChunkVersionIsGreaterThan
-
- In Code Review
-
- is related to
-
SERVER-62281 Ensure drain of migrations pending recovery on FCV upgrade/downgrade
-
- Closed
-