Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.5.5, 6.0.2
-
Untriaged
-
Unknown
Description
forestdb "unlinks" the old file after compaction. When the old file has no references, it will be removed. This causes an issue when the compacted file is renamed to the old file.
The following sequence of steps causes the compacted file to be deleted.
- compact a file.
- rename the new compacted file to the old file name.
- copy the file to a new location
- open the file in the new location
This will cause the file in the old location to get deleted.
Attachments
Issue Links
- relates to
-
MB-35666 Forestdb: Renaming a compacted file can lead to the file getting deleted
- Resolved