[DOCS-12180] Docs for SERVER-14364: OpCounters values should be stored/exported as 64-bit integers Created: 01/Nov/18  Updated: 13/Nov/23  Resolved: 06/Nov/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.5, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: SWDI, community-team, neweng, storch
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-14364 OpCounters values should be stored/ex... Closed
Participants:
Days since reply: 5 years, 14 weeks, 1 day ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

Description

Description:

serverStatus.opcounters.* will now contain values with BSON 64-bit integer, NumberLong type rather than native Javascript numbers

Engineering Ticket Description:

The counter values in the OpCounters class have type AtomicUInt32, and are exported in ServerStatus as 32-bit integers. The max value for this type is too small, and as such the class contains unnecessary overflow detection logic. The counter values should be changed to have type AtomicUInt64.

Scope of changes

  • serverStatus output
  • 4.2 compatibility (may add to 4.2 release notes as well, but probably after the next 4.2 rel notes)

Impact to Other Docs

none – other docs just point to these pages

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 06/Nov/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12180: 4.2 - opcounters/opcountersRepl metrics type Long instead of 32-bit int
Branch: master
https://github.com/mongodb/docs/commit/e6c260ea914177d9e31a8ec5b9932291509a333a

Generated at Thu Feb 08 08:04:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.