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

FTS Rebalance may enter an infinite loop with parallel index deletions in some racy situations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.1.0
    • 5.0.0
    • fts
    • None
    • Triaged
    • Unknown

    Description

      With index deletions happening during a rebalance operation, there is a chance for un breakable looping while attempting to "grabCurrentSample" around https://github.com/couchbase/cbgt/blob/master/rebalance/rebalance.go#L932. 

      One solution would be, enhance the sample look up error handling inside the "grabCurrentSample" function and process the return errors from "grabCurrentSample" inside looping logic.

      Attachments

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

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            Sreekanth Sivasankaran Sreekanth Sivasankaran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty