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

node: Increase default replication timeout to 1 minute #2227

Conversation

cthulhu-rider
Copy link
Contributor

@cthulhu-rider cthulhu-rider commented Jan 31, 2023

Inspired by MainNet. "Fast" networks are considered more rare and requiring detailed configuration.

@cthulhu-rider cthulhu-rider added neofs-storage Storage node application issues config Configuration format update or breaking change labels Jan 31, 2023
cthulhu-rider added a commit to cthulhu-rider/neofs-node that referenced this pull request Jan 31, 2023
Storage node's replication timeout usually not carefully tuned and in
most cases remains the default. Previously it was 5s, which might not be
enough for "highly distributed" networks (such as TestNet or MainNet).

Increase `replicator.put_timeout` config default to `1m`.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
@cthulhu-rider cthulhu-rider force-pushed the config/increate-replicator-timeout-default branch from fec0867 to ac466e7 Compare January 31, 2023 11:39
@codecov
Copy link

codecov bot commented Jan 31, 2023

Codecov Report

Merging #2227 (357abb7) into master (7e8fee2) will not change coverage.
The diff coverage is n/a.

❗ Current head 357abb7 differs from pull request most recent head 10bd776. Consider uploading reports for the commit 10bd776 to get more accurate results

@@           Coverage Diff           @@
##           master    #2227   +/-   ##
=======================================
  Coverage   30.71%   30.71%           
=======================================
  Files         383      383           
  Lines       28277    28277           
=======================================
  Hits         8685     8685           
  Misses      18862    18862           
  Partials      730      730           
Impacted Files Coverage Δ
cmd/neofs-node/config/replicator/config.go 100.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Storage node's replication timeout usually not carefully tuned and in
most cases remains the default. Previously it was 5s, which might not be
enough for "highly distributed" networks (such as TestNet or MainNet).

Increase `replicator.put_timeout` config default to `1m`.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
@cthulhu-rider cthulhu-rider force-pushed the config/increate-replicator-timeout-default branch from ac466e7 to 10bd776 Compare January 31, 2023 11:45
@roman-khimov roman-khimov added this to the v0.36.0 milestone Jan 31, 2023
@cthulhu-rider cthulhu-rider marked this pull request as ready for review January 31, 2023 18:01
@roman-khimov roman-khimov merged commit d4b108d into nspcc-dev:master Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config Configuration format update or breaking change neofs-storage Storage node application issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants