forked from awslabs/mountpoint-s3
-
Notifications
You must be signed in to change notification settings - Fork 1
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
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 awslabs#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
04f7499
commit 998c2f4
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