[SERVER-72815] Extend serverstatus to track Document count and Duration for updateMany and deleteMany Created: 13/Jan/23  Updated: 29/Oct/23  Resolved: 02/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.15, 7.0.0-rc0, 6.0.5, 4.4.22

Type: Task Priority: Major - P3
Reporter: Adi Zaimi Assignee: Adi Zaimi
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-67795 Add serverstatus tracking to know how... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0, v5.0, v4.4
Participants:

 Description   

In SERVER-67795 we added serverstatus tracking to report number of times updateMany and DeleteMany is called. We need to extend that tracking to include number of documents updated/deleted from those commands (cumulative and Max per call), as well as the time duration of the commands (cumulative and Max per call).



 Comments   
Comment by Githook User [ 19/Apr/23 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adizaimi@yahoo.com', 'username': 'adizaimi'}

Message: SERVER-72815: Track document count and duration for updateMany and deleteMany calls (v4.4)

In SERVER-67795 we added serverstatus tracking to report number of times
updateMany and DeleteMany is called. We need to extend that tracking to
include number of documents updated/deleted from those commands
(cumulative and Max documents per call), as well as the time duration of
the commands (cumulative and Max duration per call). Extended the test
to verify correct behavior for these counters.

(cherry picked from commit 1562e66daf917f5eb43a2b410541aa94c2f396c6)
Branch: v4.4
https://github.com/mongodb/mongo/commit/3f02daf00ec30b0959a9edb82ad85ef53e7d8399

Comment by Githook User [ 15/Feb/23 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adizaimi@yahoo.com', 'username': 'adizaimi'}

Message: SERVER-72815: Track document count and duration for updateMany and deleteMany calls (v5.0)
Branch: v5.0
https://github.com/mongodb/mongo/commit/b3e66917010a239a29a40453018bcfc4cdc82c0f

Comment by Githook User [ 13/Feb/23 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adizaimi@yahoo.com', 'username': 'adizaimi'}

Message: SERVER-72815: Track document count and duration for updateMany and deleteMany calls (v6.0)
Branch: v6.0
https://github.com/mongodb/mongo/commit/bb4ef0b8a967d648d4af38db8ebc774eb19757de

Comment by Githook User [ 11/Feb/23 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adizaimi@yahoo.com', 'username': 'adizaimi'}

Message: SERVER-72815: Track document count and duration for updateMany and deleteMany calls
Branch: master
https://github.com/mongodb/mongo/commit/38c0002816367de6ab13e01e99becf824a092079

Generated at Thu Feb 08 06:22:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.