Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12180

Docs for SERVER-14364: OpCounters values should be stored/exported as 64-bit integers

      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.)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 27 weeks, 3 days ago