Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14364

OpCounters values should be stored/exported as 64-bit integers

    XMLWordPrintable

Details

    • Minor Change
    • v4.0, v3.6
    • Integration F (02/01/16), Integration 10 (02/22/16), Query 2018-10-22, Query 2018-11-05

    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.

      Attachments

        Issue Links

          Activity

            People

              jacob.evans@mongodb.com Jacob Evans
              rassi J Rassi
              Votes:
              4 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: