Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance orderer channel configuration in mainchannel_controller #250

Merged
merged 8 commits into from
Feb 6, 2025

Conversation

dviejokfs
Copy link
Contributor

  • 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.

dviejokfs and others added 8 commits December 17, 2024 22:06
- 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]>
…ommand 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]>
Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
@dviejokfs dviejokfs merged commit 5c96ac0 into main Feb 6, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant