-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use O_APPEND for logs and log version number (#588)
In background mode we have two processes both racing on the log file, and they can scribble each other's log entries (I saw this in #566). O_APPEND should fix that. We should also log the version number as a point of reference. Signed-off-by: James Bornholt <[email protected]>
- Loading branch information
1 parent
8e5688d
commit 301ee16
Showing
2 changed files
with
3 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
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