Details
-
Bug
-
Resolution: Fixed
-
Major
-
master
-
Triaged
-
0
-
No
Description
The current path for DEL_VBUCKET commands hits the function EventuallyPersistentEngine::deleteVBucket which is implemented partially in KVBucket::deleteVBucket. The general path for changing a vBucket state is in KVBucket::setVBucketState however and it is easy to forget that vBuckets can change state (to dead) via the DEL_VBUCKET path when adding to the code there. Investigate implementing the DEL_VBUCKET path in terms of KVBucket::setVBucketState so that all vBucket state changes are implemented in one place in the code.
Attachments
Issue Links
- relates to
-
MB-54975 Ephemeral replica memory stats not tracked correctly when deleting replica vBucket
- Closed