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-1955: fixing infinite catch-up #1061

Merged
merged 4 commits into from
Jan 24, 2019

Conversation

ashcherbakov
Copy link
Contributor

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

…catch-up

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

Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
for node in nodes:
for r in node.replicas.values():
for i, r in enumerate(node.replicas.values()):
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we not use replicas.items() ?

@@ -2,15 +2,20 @@


def chkChkpoints(nodes, total: int, stableIndex: int = None):
for i in range(nodes[0].replicas.num_replicas):
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we not use replicas.keys() ?
In this case i may be not in replicas

@andkononykhin andkononykhin merged commit c57266b into hyperledger:master Jan 24, 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

3 participants