[SERVER-21238] Use 64-bit counters for operation counters Created: 31/Oct/15  Updated: 02/Nov/15  Resolved: 02/Nov/15

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

Type: Bug Priority: Major - P3
Reporter: Bruce Lucas (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-14364 OpCounters values should be stored/ex... Closed
Operating System: ALL
Participants:

 Description   

Operation counters (insert, update, delete, etc.) are 32-bit. This means they wrap relatively frequently - in less than an hour at heavy load - making it difficult (if you have a complete timeseries at intervals shorter than the wrap time) or impossible (if you have only a single serverStatus) to get averages over periods longer than that. There are diagnostic situations where it would be useful to answer questions like "has the mongod instance seen a large number of deletes since it was started"; if we used 64-bit counters we could answer such questions. Performance impact would need to be assessed, but I suspect it won't make a measurable difference.


Generated at Thu Feb 08 03:56:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.