-
Notifications
You must be signed in to change notification settings - Fork 370
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
Fix primary selection after primary demotion (INDY-463) #354
Fix primary selection after primary demotion (INDY-463) #354
Conversation
checkViewNoForNodes(restNodes, 0) | ||
|
||
primariesIdxs = getPrimaryNodesIdxs(restNodes) | ||
assert restNodes[primariesIdxs[0]].name != master_node.name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also check that pool is functional after this?
logger.info("3. force view change 3 and check final viewNo") | ||
ensure_view_change_complete(looper, restNodes) | ||
viewNo3 = checkViewNoForNodes(restNodes) | ||
assert viewNo3 == viewNo2 + 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do we check that demoted primary is really skipped? Can we also check that pool is always functional after each view change?
…nto bugfix/fix_break_after_restart
…nto bugfix/fix_break_after_restart
* Node status tool base support * Improve node status tool support * Add OOP, renaming * Remove unsupported fields * Renaming * Add dynamic tests * Make node status tool safe * Fix primary selection after primary demotion (INDY-463) (#354) * modified rank routine, added test cases for primary demotion * fixed pep8 * fixed nodes oreder initialization * added checks that pool is functional after recofigurations * added additional view change to ensure original master is skipped * Merged hotfixes from stable for wallet and genesis pool transactions file migration and readme file. * Fix validator info tool (#365) * Don't add ip addresses, one-shot dump on start * Parameterize zmq network protocol * Cherry-pick cb7d068 8642be5 c37e835 from master
* Node status tool base support * Improve node status tool support * Add OOP, renaming * Remove unsupported fields * Renaming * Add dynamic tests * Make node status tool safe * Fix primary selection after primary demotion (INDY-463) (hyperledger#354) * modified rank routine, added test cases for primary demotion * fixed pep8 * fixed nodes oreder initialization * added checks that pool is functional after recofigurations * added additional view change to ensure original master is skipped * Merged hotfixes from stable for wallet and genesis pool transactions file migration and readme file. * Fix validator info tool (hyperledger#365) * Don't add ip addresses, one-shot dump on start * Parameterize zmq network protocol * Cherry-pick cb7d068 8642be5 c37e835 from master Signed-off-by: Andrey Kononykhin <[email protected]> Sign-off-executed-by: toktar <[email protected]> Approved-at: h-master
No description provided.