|
MMAPV1 has been removed, closing this ticket.
|
|
It seems that with WiredTiger, the directory is not deleted after a drop database. mmapv1 still exhibits the behavior described in this ticket.
|
|
I submitted a patch for a similar issue in SERVER-10447
Perhaps you will find it useful. It doesn't take --repairpath into account, but it does preserves symlinks and remove the target directory contents when dropDatabase() is run against a symlink in --directoryperdb mode.
|
|
For directories: I suggest always remove, but ignore failure. This produces seemingly desirable behavior both when the directory is a mount point and when it is a normal directory.
|
|
I'd say regular directories as well, since they could be mount points, or might have non-default permissions set.
|
Generated at Thu Feb 08 02:56:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.