Make a Runtime Database Config to explicitly track if a database is suspended

Description

Currently, dbConfigs contains a map of databases with their associated persisted database config that is in the bucket. This can be changed to instead contain a runtime database config with the persisted database config embedded.

This runtime database config can contain the explicit flag of if the database is suspended or not, then the appropriate places can be changed to set and read this (e.g. isDatabaseSuspended function, unsuspendDatabase).

isDatabaseSuspended may also need to be called in more places such as unsuspendDatabase.

Activity

Show:

CB robot September 30, 2022 at 10:30 PM

Build sync_gateway-3.1.0-349 contains sync_gateway commit 7e9bc42 with commit message:
https://couchbasecloud.atlassian.net/browse/CBG-2418#icft=CBG-2418: Added a Runtime database config (#5796)

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

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created September 13, 2022 at 4:46 PM
Updated April 4, 2023 at 6:04 PM
Resolved September 30, 2022 at 10:25 PM
Instabug