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

Handle removed buckets in background persistent config update polling

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • 3.1.0
    • 3.0
    • SyncGateway
    • Security Level: Public
    • CBG Sprint 96, CBG Sprint 97
    • 2

    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

          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:

                PagerDuty