-
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.
[FAB-5284] Move kafka orderer to new message flow
This patch accomplishs following tasks: - A new message type `ConfigMsg` is added to `msgprocessor`, so that `ClassifyMsg` now spits three possible results: `ConfigUpdateMsg`, `ConfigMsg` or `NormalMsg`. This is for backwards compatibility. - Remove second validation check in Kafka orderer unless config seq has advanced. This is to adapt to new message flow and benchmark suggests ~2x performance improvement. It's also backwards compatible with v1.0.x orderer. Re-submission of re-validated messages will be addressed by followup patches, see FAB-5720 for more information. - `chain_test.go` is restructured to be more logically organized. This patch looks sizeable mostly because of this. No actual logic has been changed other than several newly added tests. Change-Id: I5b231dcecdfefd17d4b0f0679a2cc7796db9242b Signed-off-by: Jay Guo <guojiannan1101@gmail.com>
- Loading branch information
Showing
7 changed files
with
1,698 additions
and
970 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
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
Oops, something went wrong.