[3.1.2 backport] Deterministic database/bucket bootstrapping

Description

Sort the list of buckets in GetConfigBuckets() before returning so that loading databases are consistent/deterministic across SG nodes.

Before this enhancement, loading databases is non-deterministic, and in the event that two buckets contain identical SG databases configs, it's not guaranteed that all nodes in the SG cluster have the same database configuration.

Activity

Show:

CB robot April 8, 2024 at 10:11 PM

Build sync_gateway-3.2.0-350 contains sync_gateway commit 93c991d with commit message:
[3.1.2 backport] sort buckets deterministically (#6454)

CB robot April 8, 2024 at 9:31 PM

Build sync_gateway-3.2.0-348 contains sync_gateway commit 93c991d with commit message:
[3.1.2 backport] sort buckets deterministically (#6454)

CB robot April 8, 2024 at 8:53 PM

Build sync_gateway-3.2.0-346 contains sync_gateway commit 93c991d with commit message:
[3.1.2 backport] sort buckets deterministically (#6454)

CB robot April 8, 2024 at 8:21 PM

Build sync_gateway-3.2.0-344 contains sync_gateway commit 93c991d with commit message:
[3.1.2 backport] sort buckets deterministically (#6454)

CB robot April 8, 2024 at 7:41 PM

Build sync_gateway-3.2.0-342 contains sync_gateway commit 93c991d with commit message:
[3.1.2 backport] sort buckets deterministically (#6454)

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

Details

Assignee

Reporter

Labels

Story Points

Components

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created September 20, 2023 at 3:41 PM
Updated August 31, 2024 at 10:57 AM
Resolved September 22, 2023 at 3:16 PM
Instabug