Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-39699

FTS - Indexes not getting deleted upon bucket deletion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.0.0
    • Cheshire-Cat
    • fts
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      Steps of reproduction

      Create 10+ default indexes on bucket beer-sample.

      Delete the bucket, 

      Not all indexes are getting deleted.

       

      This is due to a racy code in the DeleteAllIndexFromSource function and there looks bit inefficiency in the way we handle the index deletions there. Lots of repeated/redundant checks can be seen.

      Along with the above simplification changes, making the whole target indexes set deletions atomic seems a win here.

      Attachments

        Issue Links

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

          Activity

            People

              Sreekanth Sivasankaran Sreekanth Sivasankaran (Inactive)
              Sreekanth Sivasankaran Sreekanth Sivasankaran (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty