(rocksdb) numRecords and numEntries to work with recovery unit

XMLWordPrintableJSON

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

      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_v2.patch
          19 kB
        2. atomic_counters.patch
          18 kB

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

                Created:
                Updated:
                Resolved: