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

Simplify LWW enablement

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 4.6.0
    • 4.6.0
    • couchbase-bucket

    Description

      Currenltly LWW can be enabled via:

      time_synchronisation=enabled_with_drift | enabled_without_drift
      

      The drift feature is not going to be supported and is being removed from 4.6 and future releases, so the only valid enablements is:

      time_synchronisation=enabled_without_drift
      

      However ep-engine for a long time has had the "conflict_resolution_type=" config parameter and guess what happens when you do the following...

      time_synchronisation=enabled_without_drift;conflict_resolution_type=seqno
      

      So to simplify the API, use the pre-existing parameter which is more descriptive of what is happening.

      1. Remove time_synchronisation completely from the config.
      2. Add a new enum string value

      conflict_resolution_type=lww
      

      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:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty