Details
-
New Feature
-
Resolution: Gone away
-
Minor - P4
-
None
-
None
-
Sharding NYC
Description
Currently, ShardingDataTransformCumulativeMetrics::registerInstanceMetrics() returns a lambda which must be later called by the instance metrics in order to deregister itself from the cumulative metrics. Instead, return a ScopeGuard created from that lambda so that the intent is more clear.
Attachments
Issue Links
- duplicates
-
SERVER-68154 Race in destruction of Resharding metrics can lead to calling pure virtual function
-
- Closed
-