Skip to content

Conversation

@ywelsch
Copy link
Contributor

@ywelsch ywelsch commented Apr 25, 2017

Explicitly keeping track of the crashed nodes blows up the state space that is explored by the model checker. Instead of explicitly having nodes marked as crashed, the other transition relations allow such nodes to (implicitly) just not react to any messages.

This commit also changes primary promotion to non-deterministically choose a replica (using the "exists" quantifier instead of the "CHOOSE" operator).

With the updated state constraint, model checking takes 3 hours on my machine.

Explicitly keeping track of the crashed nodes blows up the state space that is explored by the model checker. Instead of explicitly having nodes
marked as crashed, the other transition relations allow such nodes to (implicitly) just not react to any messages.

This commit also changes primary promotion to non-deterministically choose a replica (using the "exists" quantifier instead of the "CHOOSE" operator).
@ywelsch ywelsch requested a review from abeyad April 25, 2017 10:42
Copy link
Contributor

@abeyad abeyad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice simplification

@ywelsch ywelsch merged commit 0c718a1 into elastic:master Apr 25, 2017
@ywelsch
Copy link
Contributor Author

ywelsch commented Apr 25, 2017

Thanks @abeyad

DaveCTurner added a commit to DaveCTurner/elasticsearch-formal-models that referenced this pull request Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants