-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2025-10-27, CAR Team 2025-11-10
-
🟩 Routing and Topology
-
None
-
None
-
None
-
None
-
None
-
None
The _shardingOnTransitionToPrimaryHook() and _shardingOnStepDownHook() private methods of ReplicationCoordinatorExternalStateImpl contain logic to initialize/start/enable a series of node subsystems supporting sharded cluster topologies upon node transition from/to primary role. This choice breaks the separation of concerns between replication and sharding subsystem for no real advantage, since the methods share no state with their parent class.
On the other hand, the related callback methods of the ShardingInitializationMongoD service represent a more natural fit.
- related to
-
SERVER-113612 Add an OperationContext parameter to ReplicaSetAwareService::onStepDown()
-
- Backlog
-
-
SERVER-112934 Review the current initialization order of the ReplicaSetAwareServices
-
- Closed
-