-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Sharding
-
Minor Change
-
ALL
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
After a refactor during the transition to the new resharding metrics implementation in SERVER-66422, ReshardingMetricsNew::setState is now only called from ReshardingMetricsNew::onStateTransition. Since it's important that users of the class call onStateTransition instead of setState directly, so that the cumulative metrics can be updated, setState should be made private.