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

(rocksdb) numRecords and numEntries to work with recovery unit

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.8
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • ALL

      In rocks engine, now numRecords and numEntries are not updated atomically in recovery unit commit time. This patch fix it by caching all the counter delta in rocks recovery unit and update time in commit, to both of memory and DB.

      Patch attached

        1. atomic_counters.patch
          18 kB
        2. atomic_counters_v2.patch
          19 kB

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            sdong Siying Dong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: