Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot backup and fault tolerance limitations #140

Closed
evoskuil opened this issue Jan 1, 2016 · 1 comment
Closed

Hot backup and fault tolerance limitations #140

evoskuil opened this issue Jan 1, 2016 · 1 comment
Labels

Comments

@evoskuil
Copy link
Member

evoskuil commented Jan 1, 2016

The blockchain store is intended to support hot backup and to be tolerant of hard shutdown (during write) faults. Due to the speed and limited amount of writes, this is generally the case, but it is not guaranteed by the implementation.

The two scenarios rely on the store always existing in a consistent state. However there are multiple indexes in distinct files. Writes across these files are not atomic and therefore these scenarios may result in a partial update. The implementation is unable to detect this corruption, as each file individually remains consistent.

@evoskuil
Copy link
Member Author

Moved to libbitcoin-database: libbitcoin/libbitcoin-database#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant