-
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-17479] Migrated Kafka cluster can be safely expanded later (#642)
* [FAB-17479] Migrated Kafka cluster can be safely expanded later When new orderer nodes are added to a migrated Kafka cluster, but are not added to all channels: - The genesis block if written to the ledger to track future addition. - However, the genesis block is a Kafka one, and therefore the orderer tries (wrongly) to launch a Kafka chain which fails. - In addition, the orderer never tries to track future addition of the said channel, because this mechanism is only activated for Raft orderers. This change set: - Makes the Kafka chain activation be skipped in case that the orderer was migrated. - Starts tracking future addition of the orderer to the channel. An integration test is included. Change-Id: Ib3598998073e884747b5966df72b70cac572b1c5 Signed-off-by: yacovm <[email protected]> * Address code review comments Change-Id: I9ae363c164e4221fe9095f587bb32fc329528f2a Signed-off-by: yacovm <[email protected]>
- Loading branch information
Showing
8 changed files
with
130 additions
and
33 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
10 changes: 6 additions & 4 deletions
10
orderer/consensus/etcdraft/mocks/inactive_chain_registry.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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