Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1395

Configuration revisions should be parsed and compared with 64-bit precision.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.2
    • library
    • None
    • 1

    Description

      CheshireCat intends to implement a change to configuration revisions such that the higher 32-bits represent the number of fail-overs that have occurred, and the lower 32-bits represent the actual revision number. This will aid in preventing conflicts between revisions between two sides of a split-brain cluster following a failover. The SDK should modify its JSON parsing and internal storage such that revisions are handled with at least 63-bits of precision (signed or unsigned 64-bit ints).

      Attachments

        Issue Links

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

          Activity

            Build couchbase-server-7.0.0-5043 contains libcouchbase commit 6e49dd1 with commit message:
            CCBC-1395: parse configuration revision as int64_t

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-5043 contains libcouchbase commit 6e49dd1 with commit message: CCBC-1395 : parse configuration revision as int64_t

            Build couchbase-server-7.0.0-5043 contains libcouchbase commit 69772fb with commit message:
            CCBC-1395: add test for parsing 64bit numbers

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-5043 contains libcouchbase commit 69772fb with commit message: CCBC-1395 : add test for parsing 64bit numbers

            Build couchbase-server-7.0.0-5152 contains libcouchbase commit ba51590 with commit message:
            CCBC-1395: update config revision to use int64_t

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-5152 contains libcouchbase commit ba51590 with commit message: CCBC-1395 : update config revision to use int64_t

            People

              avsej Sergey Avseyev
              brett19 Brett Lawson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty