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
For Gerrit Dashboard: MB-25915 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
83304,2 | MB-25915 - Rebalance may loop endlessly with parallel index deletions | master | cbgt | Status: MERGED | +2 | +1 |
84203,2 | Backport: MB-25915 - Rebalance may loop endlessly with parallel index deletions | master | cbgt | Status: ABANDONED | 0 | 0 |
84204,1 | Backport: MB-25915 - Rebalance may loop endlessly with parallel index deletions | master | cbgt | Status: ABANDONED | 0 | 0 |
84206,3 | Backport: MB-25915 - Rebalance may loop endlessly with parallel index deletions | spock | cbgt | Status: MERGED | +2 | +1 |
84258,2 | Updating the cbft,cbgt revisions for 5.0.1 | master | manifest | Status: MERGED | +2 | +1 |
88157,7 | CBQE-3069 Add tests for MB-25915 | master | testrunner | Status: MERGED | +2 | +1 |