Details
-
Bug
-
Resolution: Fixed
-
Minor - P4
-
None
-
Minor Change
-
ALL
Description
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.