-
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.
Deduplicate orderer server TLS root CAs (#2029)
When the orderer TLS root CAs are updated, an aggregation of all root TLS CA certificates over all channels is injected into the PredicateDialer. Then, upon client TLS handshake, a fresh TLS config object is built (for orthogonal purposes), however the operation entails parsing of all root CAs all over again. In case the orderer is part of too many channels, this induces a high and unnecessary processing overhead. This commit simply performs a deduplication of the bespoken TLS root CA certificates prior to updating the root CAs. Change-Id: I21b2ed483afc9595c2ccd7fbe9ec0cf475cc5f62 Signed-off-by: yacovm <yacovm@il.ibm.com>
- Loading branch information
Showing
2 changed files
with
44 additions
and
7 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