Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-35408

Re-implement fix for MB-35326, cleaner KVStore API changes

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 6.5.0
    • 6.5.0
    • couchbase-bucket
    • None
    • 6.5.0-3883-enterprise

    Description

      This MB is to track and improved version of the fix for MB-35326, the improved version is logically the same but we want to restructure some of the KVStore API to better hide the cache clearing.

      The cleaned up fix will do the following.

      1. rename KVStore::incrementRevision to KVStore:prepareToCreate
      2. Follow the pattern of prepareToDelete and add a virtual prepareToCreateImpl
      3. KVStore:prepareToCreate will do the cache reset
      4. prepareToCreateImpl will do the same job as the current incrementRevision code

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jwalker Jim Walker
              jwalker Jim Walker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty