-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance orderer channel configuration in mainchannel_controller (#250)
* Enhance orderer channel configuration in mainchannel_controller - Added methods to set various EtcdRaft options including ElectionInterval, HeartbeatTick, TickInterval, SnapshotIntervalSize, and MaxInflightBlocks in the updateOrdererChannelConfigTx function. - Improved error handling for each configuration setting to ensure robust updates. These changes facilitate better control over the orderer channel's Raft consensus parameters, enhancing overall system reliability. Signed-off-by: David VIEJO <[email protected]> * Refactor orderer block fetching with retry logic and update inspect command to use ledger client - Replaced manual retry logic in `fetchOrdererChannelBlock` and `fetchConfigBlock` methods with a retry option from the Fabric SDK, improving code readability and maintainability. - Updated the `inspectChannelCmd` to utilize the new ledger client for querying the configuration block, enhancing the command's functionality and performance. - Removed deprecated code related to resource management client in the inspect command. These changes streamline the process of fetching orderer blocks and improve the overall robustness of the channel inspection functionality. Signed-off-by: David VIEJO <[email protected]> * Added orderer parameter for inspect Signed-off-by: David VIEJO <[email protected]> * don't put all load in the last orderer Signed-off-by: David VIEJO <[email protected]> * Cleanup code Signed-off-by: David VIEJO <[email protected]> * Fix consenter replace certificate issue Signed-off-by: dviejokfs <[email protected]> * Try to fix the error with test kubectl Signed-off-by: dviejokfs <[email protected]> * Fix the test issue Signed-off-by: dviejokfs <[email protected]> --------- Signed-off-by: David VIEJO <[email protected]> Signed-off-by: dviejokfs <[email protected]>
- Loading branch information
Showing
3 changed files
with
151 additions
and
54 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