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

Treat existing cbgt index as recoverable error

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 72
    • 2

    Description

      When multiple Sync Gateway nodes attempt to concurrently create the cbgt index for DCP processing, nodes can fail with the error `cannot create index because an index with the same name already exists` if they lose the creation race.

      In this scenario Sync Gateway should be able to proceed with the already existing index, instead of requiring a restart to use the existing index.

      Attachments

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

        Activity

          Build sync_gateway-3.0.0-185 contains sync_gateway commit ac4675e with commit message:
          CBG-1391 Improved handling for concurrent index creation (#4992)

          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-185 contains sync_gateway commit ac4675e with commit message: CBG-1391 Improved handling for concurrent index creation (#4992)

          Build sync_gateway-3.0.0-187 contains sync_gateway commit 2b0d3df with commit message:
          CBG-1391 Recover from concurrent cbgt index creation error (#4993)

          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-187 contains sync_gateway commit 2b0d3df with commit message: CBG-1391 Recover from concurrent cbgt index creation error (#4993)

          People

            adamf Adam Fraser
            adamf Adam Fraser
            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