[3.0.9 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 September 22, 2023 at 3:23 PM

Build sync_gateway-3.0.9-7 contains sync_gateway commit af79639 with commit message:
[3.0.9 backport] sort buckets deterministically #6455

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 11:01 AM
Resolved September 22, 2023 at 3:16 PM
Instabug