-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Execution Team 2020-11-16
-
18
SERVER-48882 made it so that when using directoryperdb, newly empty database directories will be removed. However, it is possible for WiredTigerKVEngine::dropIdent() to not actually drop the ident right away. If WiredTiger returns EBUSY, the ident drop will be queued to be dropped later. If this happens, the database directory will not be removed since the directory is not yet empty by the time the callback is run.
A solution is to make KVEngine::dropIdent() optionally take a callback that will be run once the ident is actually dropped.
- is related to
-
SERVER-53061 Empty database directory will not be removed if collection ident is not dropped before all index idents
- Closed
- related to
-
SERVER-48882 If directoryperdb is active, remove empty directories
- Closed