-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Transfer leadership before submitting to raft library If transaction request rotates the current leader cert or removes it then transfer the leadership to another node before proposing the transaction for orderering. It would help to avoid the leadership transfer while committing the block Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com> * invoke abdicate leader only on current leader node Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com> * Leader addicates when removing itself from config Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com> * abdicate leader function updated to return values Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com> * Abdication retries when possible Change-Id: Ib6d8d319443b735078edfb69fdad4f7b3db10dd2 Signed-off-by: Yacov Manevich <yacovm@il.ibm.com> * Address review comments from Yoav Change-Id: I61be008c1d4e676316e6e3b778aef9e75eaec56c Signed-off-by: Yacov Manevich <yacovm@il.ibm.com> Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com> Signed-off-by: Yacov Manevich <yacovm@il.ibm.com> Co-authored-by: Yacov Manevich <yacovm@il.ibm.com> (cherry picked from commit 1514fa2)
- Loading branch information
Showing
3 changed files
with
233 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.