Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-2418

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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.1.0
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 106
    • 2

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            isaac.lambat Isaac Lambat
            isaac.lambat Isaac Lambat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty