[SERVER-64242] Make `collStats` aggregation stage retrieve orphans from BalancerStatisticsRegistry Created: 07/Mar/22  Updated: 29/Oct/23  Resolved: 31/May/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.1, 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-64162 Initialize/destroy BalancerStatsRegis... Closed
depends on SERVER-64198 Observer updating per-collection orph... Closed
Related
is related to SERVER-67518 Aggregate metric value continually in... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: Sharding EMEA 2022-05-30, Sharding EMEA 2022-06-13
Participants:

 Description   

SERVER-62554 implements a first version of orphans tracking in the `collStats` output returning the sum of all orphans counters from range deletion task documents for a given collection.

Objective of this ticket is to retrieve such information from the BalancerStatisticsRegistry instead of always performing a local query.



 Comments   
Comment by Githook User [ 25/Jul/22 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-64242 Make collStats aggregation stage retrieve orphans from BalancerStatisticsRegistry
(cherry picked from commit 2a7a609a78eb12dd5a237933b49b5f6bd03043f2)
Branch: v6.0
https://github.com/mongodb/mongo/commit/f86a959e46955ef409787abced4a32655a362fe7

Comment by Githook User [ 31/May/22 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-64242 Make `collStats` aggregation stage retrieve orphans from BalancerStatisticsRegistry
Branch: master
https://github.com/mongodb/mongo/commit/2a7a609a78eb12dd5a237933b49b5f6bd03043f2

Generated at Thu Feb 08 05:59:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.