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-1519: Fixed handling of message replies #841

Merged
merged 5 commits into from
Jul 26, 2018

Conversation

spivachuk
Copy link
Contributor

  • Added an integration test verifying catch-up in case one of nodes sends MessageReps with LedgerStatuses in outdated format.
  • Added unit tests for some unhandled cases in message request / response handling logic.
  • Added handling for these cases to message request / response processing logic.

spivachuk and others added 5 commits July 26, 2018 10:54
- Added handling of TypeError to the logic of replied message creation in the handler of replies to message requests.

Signed-off-by: Nikita Spivachuk <nikita.spivachuk@dsr-company.com>

(cherry picked from commit d997d38)
Signed-off-by: Nikita Spivachuk <nikita.spivachuk@dsr-company.com>
Test case when one node restart and in catchup receive Ledger Status
without protocol version from the one of nodes in pool.

Signed-off-by: toktar <renata.toktar@dsr-corporation.com>

(cherry picked from commit 25a5ddd)
Signed-off-by: Nikita Spivachuk <nikita.spivachuk@dsr-company.com>
Add check discarding a Ledger Statuses from the break_node for all ledgers

Signed-off-by: toktar <renata.toktar@dsr-corporation.com>

(cherry picked from commit 5dfb165)
Signed-off-by: Nikita Spivachuk <nikita.spivachuk@dsr-company.com>
- Added unit tests for some unhandled cases in message request / response handling logic.
- Added handling for these cases to message request / response processing logic.

Signed-off-by: Nikita Spivachuk <nikita.spivachuk@dsr-company.com>

(cherry picked from commit ee53c66)
Signed-off-by: Nikita Spivachuk <nikita.spivachuk@dsr-company.com>
Signed-off-by: Nikita Spivachuk <nikita.spivachuk@dsr-company.com>
@spivachuk
Copy link
Contributor Author

test this please

@ashcherbakov ashcherbakov merged commit 7ff6cf2 into hyperledger:master Jul 26, 2018
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