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

[3.0.1 Backport] Handle removed buckets in background persistent config update polling

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0.1
    • 3.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 97
    • 1

    Description

      Removed database configuration documents are handled by SG in 3.0, which closes the associated database once detected.
      We don't detect when the entire bucket has been removed, which leaves the database running with DCP stuck in a retry loop, and all SDK operations failing due to the removed bucket.

      Proposed Solution

      ServerContext.fetchAndLoadConfigs() should iterate over its copy of databases/buckets, and remove any databases that are no longer present in the set returned by the server.

      Attachments

        Issue Links

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

          Activity

            People

              ben.brooks Ben Brooks
              ben.brooks Ben Brooks
              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