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

(rocksdb) numRecords and numEntries to work with recovery unit

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.7.8
    • Storage
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: