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

Increase default transientstoreMaxBlockRetention #4569

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/deliverservice/testdata/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ peer:
# and the private data residing inside the transient store that is guaranteed not to be purged.
# Private data is purged from the transient store when blocks with sequences that are multiples
# of transientstoreMaxBlockRetention are committed.
transientstoreMaxBlockRetention: 1000
transientstoreMaxBlockRetention: 20000
# pushAckTimeout is the maximum time to wait for an acknowledgement from each peer
# at private data push at endorsement time.
pushAckTimeout: 3s
Expand Down
2 changes: 1 addition & 1 deletion gossip/service/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

const (
btlPullMarginDefault = 10
transientBlockRetentionDefault = 1000
transientBlockRetentionDefault = 20000
)

// ServiceConfig is the config struct for gossip services
Expand Down
2 changes: 1 addition & 1 deletion integration/nwo/template/core_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ peer:
leaderElectionDuration: 5s
pvtData:
pullRetryThreshold: 7s
transientstoreMaxBlockRetention: 1000
transientstoreMaxBlockRetention: 20000
pushAckTimeout: 3s
btlPullMargin: 10
reconcileBatchSize: 10
Expand Down
2 changes: 1 addition & 1 deletion sampleconfig/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ peer:
# and the private data residing inside the transient store that is guaranteed not to be purged.
# Private data is purged from the transient store when blocks with sequences that are multiples
# of transientstoreMaxBlockRetention are committed.
transientstoreMaxBlockRetention: 1000
transientstoreMaxBlockRetention: 20000
# pushAckTimeout is the maximum time to wait for an acknowledgement from each peer
# at private data push at endorsement time.
pushAckTimeout: 3s
Expand Down