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

Treat existing cbgt index as recoverable error

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0
    • None
    • 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

        Activity

          People

            adamf Adam Fraser
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty