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-2140: Sync finishing view change on backups and master + more cleanups #1362

Merged
merged 15 commits into from
Oct 10, 2019

Conversation

skhoroshavin
Copy link
Member

Signed-off-by: Sergey Khoroshavin sergey.khoroshavin@dsr-corporation.com

Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@skhoroshavin skhoroshavin changed the title [WIP] INDY-2140: Sync finishing view change on backups and master [WIP] INDY-2140: Sync finishing view change on backups and master + more cleanups Oct 4, 2019
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@lgtm-com
Copy link

lgtm-com bot commented Oct 4, 2019

This pull request introduces 1 alert when merging 837336b into d8ba079 - view on LGTM.com

new alerts:

  • 1 for Unused import

Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@lgtm-com
Copy link

lgtm-com bot commented Oct 4, 2019

This pull request introduces 1 alert when merging 89b41dd into d8ba079 - view on LGTM.com

new alerts:

  • 1 for Unused import

Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@skhoroshavin skhoroshavin changed the title [WIP] INDY-2140: Sync finishing view change on backups and master + more cleanups INDY-2140: Sync finishing view change on backups and master + more cleanups Oct 4, 2019
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@lgtm-com
Copy link

lgtm-com bot commented Oct 4, 2019

This pull request fixes 6 alerts when merging 72db03c into d8ba079 - view on LGTM.com

fixed alerts:

  • 6 for Unused import

Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@lgtm-com
Copy link

lgtm-com bot commented Oct 4, 2019

This pull request fixes 6 alerts when merging 3a1ccfa into bb9b086 - view on LGTM.com

fixed alerts:

  • 6 for Unused import

plenum/server/node.py Outdated Show resolved Hide resolved
@lgtm-com
Copy link

lgtm-com bot commented Oct 8, 2019

This pull request fixes 6 alerts when merging 91c3904 into 2c081b8 - view on LGTM.com

fixed alerts:

  • 6 for Unused import

Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@lgtm-com
Copy link

lgtm-com bot commented Oct 8, 2019

This pull request fixes 6 alerts when merging a100bfd into 417d195 - view on LGTM.com

fixed alerts:

  • 6 for Unused import

Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@lgtm-com
Copy link

lgtm-com bot commented Oct 8, 2019

This pull request fixes 6 alerts when merging f3ad1ea into 417d195 - view on LGTM.com

fixed alerts:

  • 6 for Unused import

Sergey Khoroshavin added 2 commits October 9, 2019 16:57
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@lgtm-com
Copy link

lgtm-com bot commented Oct 9, 2019

This pull request fixes 7 alerts when merging b3a7a46 into 5493909 - view on LGTM.com

fixed alerts:

  • 7 for Unused import

@skhoroshavin
Copy link
Member Author

(CI) test this please

plenum/server/consensus/ordering_service.py Outdated Show resolved Hide resolved
@@ -2334,6 +2333,11 @@ def _process_pre_prepare_from_old_view(self, pp):

return PROCESS, None

def _reordered_in_new_view(self):
self._stasher.process_all_stashed(STASH_VIEW_3PC)
# TODO: Why do we call it "reordered" despite that we only _started_ reordering old batches?
Copy link
Contributor

Choose a reason for hiding this comment

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

Agree with the comment. I was under the impressions that we send it after we ordered (re-ordered) till prepared certificate, but it looks like we send it when just going to do the re-ordering.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yet I think that it is right place to call process_all_stashed, so probably it is just a matter of renaming. However I'm not so sure about monitor reset...

Sergey Khoroshavin added 2 commits October 10, 2019 14:06
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@lgtm-com
Copy link

lgtm-com bot commented Oct 10, 2019

This pull request fixes 6 alerts when merging 2d6e054 into 5493909 - view on LGTM.com

fixed alerts:

  • 6 for Unused import

Sergey Khoroshavin added 2 commits October 10, 2019 14:30
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
Signed-off-by: Sergey Khoroshavin <sergey.khoroshavin@dsr-corporation.com>
@lgtm-com
Copy link

lgtm-com bot commented Oct 10, 2019

This pull request introduces 1 alert and fixes 6 when merging 5b35c4c into f4d6444 - view on LGTM.com

new alerts:

  • 1 for Module-level cyclic import

fixed alerts:

  • 6 for Unused import

@skhoroshavin skhoroshavin merged commit d1ddf43 into hyperledger:master Oct 10, 2019
@skhoroshavin skhoroshavin deleted the indy-2140-sync-vc branch October 10, 2019 15:49
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