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

Master #84

Merged
merged 3 commits into from
Feb 8, 2018
Merged

Master #84

merged 3 commits into from
Feb 8, 2018

Conversation

spivachuk
Copy link
Owner

No description provided.

anikitinDSR and others added 3 commits February 7, 2018 15:48
…ted (#518)

* [INDY-1116] fix IstanceChanges queue cleanup while view change completed

Signed-off-by: Andrew Nikitin <[email protected]>

* [INDY-1116] Freezing list of keys for iterating

Signed-off-by: Andrew Nikitin <[email protected]>
* documentation, change log message and method names

Signed-off-by: Lovesh <[email protected]>

* fix static validation error and update doc

Signed-off-by: Lovesh <[email protected]>
* INDY-1081: Fixed update of last caught up 3PC-key

- Fixed a bug with possible miss of updating the last caught up 3PC-key in LedgerManager when synchronizing a ledger (in case actual catch-up is not done).
- Added a test verifying the fix.

Signed-off-by: Nikita Spivachuk <[email protected]>

* INDY-1081: Migrated test to old client

- Migrated test_pool_reaches_quorum_after_more_than_f_plus_1_nodes_turned_off_and_later_on from Indy SDK to the old client because a necessary fix in Python wrapper of libindy is not in its stable version yet.

Signed-off-by: Nikita Spivachuk <[email protected]>

* INDY-1081: Extract repeated code to helper method

- Renamed a test and extracted repeated code to a helper method.

Signed-off-by: Nikita Spivachuk <[email protected]>

* INDY-1081: Fixed handling of requested PREPARE

- Fixed a bug with handling of MESSAGE_REQUEST for PREPARE: now the request is replied by a replica only if the requested PREPARE was sent by this replica earlier.
- Fixed a bug with ignoring MESSAGE_RESPONSE with PREPARE in case the requested PREPARE has already been received from any replica: now the response from a replica is ignored only if the requested PREPARE has already been received from this replica.
- Fixed a bug with a wrong range of 3PC-messages being requested by Replica.processPrePrepare method in case of PP_CHECK_NOT_NEXT error.
- Fixed some bugs in test helpers.
- Corrected the test verifying the pool consensus after stopping and starting n+2 nodes including the master's primary.
- Added a test verifying the pool consensus after stopping and starting n+2 nodes but not the master's primary.

Signed-off-by: Nikita Spivachuk <[email protected]>

* INDY-1081: Extend range of requested 3PC-messages

- Extended the range of 3PC-messages being requested by a replica in case PP_CHECK_NOT_NEXT error because the range not including the received message might result in inability to order 3PC-batches on backup replicas.

Signed-off-by: Nikita Spivachuk <[email protected]>

* INDY-1081: Corrected tests

- Corrected calls of a changed test helper method.

Signed-off-by: Nikita Spivachuk <[email protected]>
@spivachuk spivachuk merged commit 9d6de2c into spivachuk:master Feb 8, 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.

2 participants