-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Execution Team 2020-12-28, Execution Team 2021-01-11
-
13
When removing an empty database directory using directoryperdb, the collection ident drop is what runs the callback to remove the directory. This is based on the fact that we drop the collection ident after the index idents. However, since the WT ident drops can be queued and may not actually be dropped in the same order, we cannot rely on this assumption. We should make sure that the callback runs on the final ident drop, regardless of whether it's a collection or an index ident.
- related to
-
SERVER-51717 Empty database directory will not be removed if KVEngine::dropIdent() does not drop the ident right away
- Closed
-
SERVER-48882 If directoryperdb is active, remove empty directories
- Closed