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-2183: Increase frequency of re-connection checks #1315

Merged
merged 13 commits into from
Sep 4, 2019

Conversation

ashcherbakov
Copy link
Contributor

@ashcherbakov ashcherbakov commented Aug 29, 2019

  • decreased re-connection timeouts to increase frequency of re-connection checks and avoid issues with re-connection
  • added more tests for re-connection

Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
…nto re-connect-test

Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>

# Conflicts:
#	plenum/test/node_request/message_request/helper.py
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
def get_last_pp_key(node):
last_pp = node.master_replica._ordering_service.last_preprepare
if last_pp is None:
return (0, 0)

Choose a reason for hiding this comment

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

should we use self.last_ordered_3pc if list_pp is None, as used in __last_pp_3pc property?

Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
@ashcherbakov ashcherbakov merged commit e9ee0d0 into hyperledger:master Sep 4, 2019
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