-
Notifications
You must be signed in to change notification settings - Fork 370
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
Incorrect ViewChange messages consensus calculating #1506
Labels
Comments
Toktar
changed the title
ViewChange consensus protocol problem
Incorrect ViewChange messages consensus calculating
Jan 22, 2021
Toktar
pushed a commit
to Toktar/indy-plenum
that referenced
this issue
Feb 26, 2021
…r#1506 Signed-off-by: toktar <[email protected]>
Toktar
pushed a commit
to Toktar/indy-plenum
that referenced
this issue
Mar 1, 2021
…r#1506 Signed-off-by: toktar <[email protected]>
Toktar
pushed a commit
to Toktar/indy-plenum
that referenced
this issue
Mar 1, 2021
…r#1506 Signed-off-by: toktar <[email protected]>
Merged
Toktar
pushed a commit
to Toktar/indy-plenum
that referenced
this issue
Mar 15, 2021
…r#1506 Signed-off-by: toktar <[email protected]>
Toktar
pushed a commit
to Toktar/indy-plenum
that referenced
this issue
Mar 24, 2021
…dger#1506 Signed-off-by: toktar <[email protected]>
When addressing this issue, please ensure any workarounds such as this are addressed; indy-plenum/plenum/test/consensus/view_change/test_sim_view_change.py Lines 90 to 92 in 705582e
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The simulation test for ViewChange sometimes fails
indy-plenum/plenum/test/consensus/view_change/test_sim_view_change.py
Line 65 in c10090d
because of problem with getting a checkpoint on the phase of collecting
ViewChange
messages in the methodcalc_checkpoint()
. It receives a list ofViewChange
messages like a parameter.If it's a 4 node pool and the list contains the follow
ViewChange
messagesThen we don't have a strong consensus of 3 (n-f=4-1) checkpoins with the same checkpoint end. It means, that the node can't finish a view change.
Expected problem: Low probability one or more nodes may not finish View Change and after a short period just start a new one.
With an incredibly low probability a pool can freeze with endless view changes. But it can be fixed by
POOL_RESTART
transaction.We don’t think we have a big chance to face this case. But we need to remember about it and fix.
The text was updated successfully, but these errors were encountered: