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

INDY-2053: Fix one more edge case in catch up #1194

Merged
merged 3 commits into from
May 7, 2019

Conversation

skhoroshavin
Copy link
Member

No description provided.

Sergey Khoroshavin added 2 commits May 7, 2019 13:51
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
ensure_all_nodes_have_same_data(looper, normal_nodes, custom_timeout=30)

# Make sure that we will receive cons proof from lagging node before all other nodes
start_delaying(normal_stashers, lsDelay(delay=0.5))
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we have more explicit check, that we received ConsProofs from all the nodes?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think we need such check because:

  • we don't actually want to wait for cons proofs from ALL nodes
  • all we care about is that we receive cons proof from lagging node before normal nodes, so it is not discarded if normal nodes provide quorum of equal cons proofs faster

ashcherbakov
ashcherbakov previously approved these changes May 7, 2019
ashcherbakov
ashcherbakov previously approved these changes May 7, 2019
@skhoroshavin skhoroshavin reopened this May 7, 2019
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@skhoroshavin skhoroshavin merged commit 63fb89a into hyperledger:master May 7, 2019
@skhoroshavin skhoroshavin deleted the indy-2053 branch May 7, 2019 17:51
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.

None yet

2 participants