-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Sharding EMEA
Currently the BalancerStatsRegistry can only be used on FCV in which the OrphanTracking feature flag is enabled (>= 6.0).
For this reason the initialization/termination logic of the registry is a bit convoluted.
Once the OrphanTracking feature flag is removed ( SERVER-65815) we should simplify the logic by assuming that the registry is only initialized on stepUp and terminated on stepDown.
This means that we can stop exposing BalancerStatsRegistry::initializeAsync and BalancerStatsRegistry::terminate functions
- has to be done after
-
SERVER-65815 Remove OrphanTracking feature flag
- Closed
- related to
-
SERVER-77714 Complete TODO listed in SERVER-65817
- Closed