-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before this change, when resuming into the same sudir that we resumed from, the older data files would be overwritten, because we do not track the writer's file indices, and resuming for some writers would be very non-trivial (metadata handling etc). To avoid data loss, following the discussion around issue #56 on GitHub, we enact the following policy: 1. nothing changes if we resume into a new directory; 2. we prevent resuming into an existing directory that is _not_ the same we are resuming from; 3. when resuming into the same directory we resume from, the actual problem dir is shifted into the first available `resumeN` subdir.
- Loading branch information
Showing
1 changed file
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters