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

Use 64-bit counters for operation counters

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics
    • Labels:
      None
    • ALL

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: