SDK produces an incorrect partition map from buckets with >= 2 replicas

Description

This results in CouchbaseBucketConfig with a partition map of e.g. “partitions={0..170=[0,1,1], 171..341=[0,2,2]…” being created froma ClusterBucketTopology with “partitions={0..170=[0,1,2], 171..341=[0,2,1]…”

Credit to MattB’s FIT tests for discovering this.

Environment

None

Gerrit Reviews

JVMCBC-1570: SDK produces an incorrect repo:couchbase-jvm-clients branch:master

Release Notes Description

None

Activity

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

Details

Assignee

Reporter

Story Points

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created September 17, 2024 at 3:14 PM
Updated September 27, 2024 at 11:58 AM
Resolved September 27, 2024 at 11:58 AM
Instabug