Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

fdatasync #76

Merged
merged 3 commits into from
Mar 23, 2014
Merged

fdatasync #76

merged 3 commits into from
Mar 23, 2014

Conversation

benbjohnson
Copy link
Member

This pull request includes fdatasync() changes from @tv42. These changes ensure that pages are written and sync'd before writing the meta page.

tv42 and others added 3 commits March 22, 2014 20:47
This avoids a case where writes can be reordered so meta page is
written before a page it refers to, potentially causing a corrupt
database after a power loss or kernel crash.
benbjohnson added a commit that referenced this pull request Mar 23, 2014
@benbjohnson benbjohnson merged commit 1282a4a into boltdb:master Mar 23, 2014
@benbjohnson benbjohnson deleted the fsync branch March 23, 2014 16:02
@benbjohnson benbjohnson mentioned this pull request Mar 23, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants