-
Notifications
You must be signed in to change notification settings - Fork 18
Checksums #502
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
base: 1.8
Are you sure you want to change the base?
Checksums #502
Conversation
Conflicts: src/paxos/master.ml src/paxos/multi_paxos_fsm.ml src/paxos/value.ml src/system/startup.ml src/tlog/tlc2_test.ml src/tlog/tlogcollection_test.ml
doc/design/rolling-checksums.rst
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should mention here that usually it should not be possible for this to happen. Usually means: fsync set to true (which is the default) and none of the layers below (file system, hardware) lie about fsync behaviour.
src/node/catchup.ml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can write this as tlog_coll # log_value_explicit i value ~validate false None >>= fun () ->
note the ~validate and >>= fun ()
src/node/store.ml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know you're already changing this, but as a reminder to myself: set_checksum should happen in the same transaction as the one that bumps the i just above
|
Should we have some test for the upgrade scenario (as discussed earlier) ? |
buildInSandbox.sh
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These shouldn't be required.
No description provided.