-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On restart, the orderer is failing to properly re-initialize the config sequence number, which causes it to inappropriately flag new non-config blocks as config blocks. On second restart, the incorrect last config index causes the orderer to attempt to treat a normal transaction as a config transaction. The error checking recognizes this as a fatal error and panics. This CR moves the initialization out of the "new channel" path, and into the common path shared by both startup and restart. It also enhances the log messages to make detection of this sort of scenario easier. Change-Id: I0d730eb5180f21ee6913bc8633ff540128bc6899 Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
- Loading branch information
Jason Yellick
committed
Jun 3, 2017
1 parent
7717a2e
commit 5ca811d
Showing
3 changed files
with
23 additions
and
6 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
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
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