Skip to content

Commit

Permalink
fix wrong statement JOURNAL_FILE_FORMAT.md doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangyang Shen authored and keszybz committed Mar 29, 2021
1 parent 46cfe8f commit 119063d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/JOURNAL_FILE_FORMAT.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ If a file is opened for writing the **state** field should be set to
STATE_ONLINE. If a file is closed after writing the **state** field should be
set to STATE_OFFLINE. After a file has been rotated it should be set to
STATE_ARCHIVED. If a writer is asked to write to a file that is not in
STATE_OFFLINE it should immediately rotate the file and start a new one,
STATE_ONLINE it should immediately rotate the file and start a new one,
without changing the file.

After and before the state field is changed `fdatasync()` should be executed on
Expand Down

0 comments on commit 119063d

Please sign in to comment.