forked from hyperledger/fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-5849] calibrate state transfer pace
Blocks received from peers via state transfer are added to the payload buffer right away regardless the payload buffer's size. In cases when state transfer is much faster than the commit process, blocks pile up in the payload buffer and the peer might be out of memory. This change set makes the method that handles payload reception from remote peers to add the payloads through the same code path that receives blocks from the orderer, which blocks in case the payload buffer is too overpopulated. Change-Id: I2fc1a916b809311a7d3aa0308b64d2127ad1ee60 Signed-off-by: yacovm <[email protected]> Signed-off-by: Gari Singh <[email protected]> Signed-off-by: yacovm <[email protected]>
- Loading branch information
Showing
4 changed files
with
94 additions
and
14 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