[SERVER-62674] Add stats tracking for multiple collections Created: 14/Jan/22  Updated: 29/Oct/23  Resolved: 31/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Task Priority: Major - P3
Reporter: Eric Cox (Inactive) Assignee: Mihai Andrei
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QE 2022-02-07, QE 2022-01-24
Participants:

 Description   

Add a new stats tracker class AutoStatsTrackerMulti that could possibly extend AutoStatsTracker (alternatively this could be a standalone class).

It should take a 'special' leftmost namespace and an array of other namespaces for the secondary collection namespaces. It should make:

  • Updates CurOp for the leftmost collection
  • Updates top (via record()) for each involved namespace. This means that the same latency will be attributed to multiple collections, so it can be counted multiple times.


 Comments   
Comment by Githook User [ 31/Jan/22 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}

Message: SERVER-62674 Add stats tracking for multiple collections
Branch: master
https://github.com/mongodb/mongo/commit/f5dbab9f268eae5471fdbf2c2660fdec240f80ec

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