mirror of
https://github.com/nspcc-dev/neofs-node.git
synced 2026-03-01 04:29:10 +00:00
rpc error: context deadline exceeded if timeout is default (15s) #813
Labels
No labels
I1
I2
I3
I4
S0
S1
S2
S3
S4
U0
U1
U2
U3
U4
blocked
bug
config
dependencies
discussion
documentation
enhancement
enhancement
epic
feature
go
good first issue
help wanted
neofs-adm
neofs-cli
neofs-cli
neofs-cli
neofs-ir
neofs-lens
neofs-storage
neofs-storage
performance
question
security
task
test
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-node#813
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ikovalev1 on GitHub (Oct 18, 2022).
Expected Behavior
"neofs-cli object put" shouldn't fail if one of the nodes is not responding while there are others helthy nodes to store the object.
Current Behavior
neofs-cli object put
rpc error: client failure: context deadline exceeded
Possible Solution
increase default timeot to 30s
Steps to Reproduce (for bugs)
pidof neofs-nodeYour Environment
root@az:/home/service# neofs-node -version
NeoFS Storage node
Version: v0.32.0-125-gbcf3df35
GoVersion: go1.18.4
@fyrchik commented on GitHub (Oct 18, 2022):
We could increase the timeout and have this fixed up until the next similar error occurs. And we cannot pick a single default, because it (
maximum possible timeout) depends on the timeouts in the configuration of all storage nodes participating in the operation. So 30 can fix this case, but certainly there are others.I think we can ensure that
timeoutcan be picked from the configuration (I believe it already should). This way any particular deployment can override this default. 15 seconds looks like a reasonable default to have for public deployments.@cthulhu-rider @realloc @carpawell