-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding, Upgrade/Downgrade
-
None
-
Cluster Scalability
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Resharding is incompatible with setFCV: Resharding refuses to start during kUpgrading/kDowngrading and setFCV aborts ongoing reshardings after entering kUpgrading/kDowngrading.
However this mutual exclusion is only exercised by a handful of tests
, so bugs/regressions have gone undetected in the past.
Either new tests (e.g. concurrency, passthrough tests that can run on FCV upgrade/downgrade suites) suites or executing the following issues would help cover this gap:
- SERVER-104171 Remove tag excluding balancer from setFCV concurrency tests
- SERVER-111230 reshardCollection may fail to clean up metadata on its temporary collection when aborted
- SERVER-130943 add_remove_shards hook does not work properly with concurrent setFCV
Tests that currently exercise resharding + setFCV (2026-07-23)
- Deterministic noPassthrough tests:
- Concurrency tests:
- random_ddl_setFCV_operations_with_metadata_check.js (setFCV+moveCollection)
- random_ddl_crud_setFCV_operations.js (setFCV+reshardCollection+unshardCollection) - since 2026-07-22.
- depends on
-
SERVER-111230 reshardCollection may fail to clean up metadata on its temporary collection when aborted
-
- Backlog
-
-
SERVER-130943 add_remove_shards hook does not work properly in conjunction with concurrent setFCV
-
- Backlog
-
-
SERVER-104171 Re-enable JavaScript tests which were left disabled due to SERVER-88539
-
- Backlog
-
- related to
-
SERVER-104789 Make random_ddl_setFCV_operations_with_metadata_check.js also run in config shard variants
-
- Closed
-
-
SERVER-131380 Prevent resharding from starting during an FCV transition
-
- Closed
-
-
SERVER-131720 FCV transition in progress guard prevents configvsr_reshard_collection command from joining existing coordinator state machine
-
- Closed
-
-
SERVER-131381 Follow-up: long-term fix for resharding running during FCV transition
-
- Backlog
-