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

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).

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

CB robot May 12, 2021 at 9:35 AM

Build couchbase-server-7.0.0-5152 contains libcouchbase commit ba51590 with commit message:
https://couchbasecloud.atlassian.net/browse/CCBC-1395#icft=CCBC-1395: update config revision to use int64_t

CB robot April 27, 2021 at 6:58 AM

Build couchbase-server-7.0.0-5043 contains libcouchbase commit 69772fb with commit message:
https://couchbasecloud.atlassian.net/browse/CCBC-1395#icft=CCBC-1395: add test for parsing 64bit numbers

CB robot April 27, 2021 at 6:58 AM

Build couchbase-server-7.0.0-5043 contains libcouchbase commit 6e49dd1 with commit message:
https://couchbasecloud.atlassian.net/browse/CCBC-1395#icft=CCBC-1395: parse configuration revision as int64_t

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Fix versions

Story Points

Components

Reporter

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created April 19, 2021 at 9:32 PM
Updated May 12, 2021 at 9:35 AM
Resolved April 27, 2021 at 3:47 PM
Instabug