0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 00:17:37 +01:00

SERVER-97359 Tag BatchedDeletes ServerStatusSection with the shard role (#29359)

GitOrigin-RevId: 94adde5b2b89ff2fdb00636dc339fdff65eb96e2
This commit is contained in:
George Wangensteen 2024-11-19 12:23:24 -05:00 committed by MongoDB Bot
parent 0944d807c1
commit a0c02d2bb2

View File

@ -132,7 +132,8 @@ struct BatchedDeletesSSS : ServerStatusSection {
AtomicWord<long long> timeInBatchMillis{0};
AtomicWord<long long> refetchesDueToYield{0};
};
auto& batchedDeletesSSS = *ServerStatusSectionBuilder<BatchedDeletesSSS>("batchedDeletes");
auto& batchedDeletesSSS =
*ServerStatusSectionBuilder<BatchedDeletesSSS>("batchedDeletes").forShard();
// Wrapper for write_stage_common::ensureStillMatches() which also updates the 'refetchesDueToYield'
// serverStatus metric. As with ensureStillMatches, if false is returned, the WoringSetMember