Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.6.0
-
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
- is a backport of
-
MB-39699 FTS - Indexes not getting deleted upon bucket deletion
- Closed
For Gerrit Dashboard: MB-43421 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
142620,4 | MB-43421 - Indexes not getting deleted upon bucket deletion | mad-hatter | cbgt | Status: MERGED | +2 | +1 |
145751,2 | MB-43421 - Indexes not getting deleted upon bucket deletion | 6.6.1 | cbgt | Status: MERGED | +2 | +1 |