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

(rocksdb) numRecords and numEntries to work with recovery unit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.8
    • Component/s: Storage
    • Labels:
      None
    • Operating System:
      ALL

      Description

      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

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: