Skip to content

How to update an openraft cluster to a newer application version? #319

Answered by drmingdrmer
semirix asked this question in Q&A
Discussion options

You must be logged in to vote

Because the raft itself is something like a clock, whose duty is to determine orders of events(client request), if the clock itself is damaged and the time on it becomes wrong, it has no way to find it out.

There has to be another clock as a reference to test this one:
Recording all client events in an access log and replaying the access log is a way to determine the consistency roughly. jepson provides a more delicate way to test the consistency by calculating all of the possible states after applying a series of events.

And finally, a test has to ensure every replica has identical logs.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@semirix
Comment options

@drmingdrmer
Comment options

Answer selected by semirix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants