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

runtime/committee/client: reduce gRPC max backoff timeout #3035

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

ptrus
Copy link
Member

@ptrus ptrus commented Jun 19, 2020

Reduces the gRPC backoff MaxDelay in committee client. Committee nodes are expected to be available and this timeout is more in line with timeouts we use in the clients using these connections (e.g. storage client retries for 15 secs).

This was causing spurious runtime_dynamic E2E test failures, where the nodes are restarted in the test. In case the storage node restart took to long, the connection retry delay got greater than the retry timeout in storage client, causing failures.

@codecov
Copy link

codecov bot commented Jun 19, 2020

Codecov Report

Merging #3035 into master will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3035      +/-   ##
==========================================
+ Coverage   68.33%   68.39%   +0.06%     
==========================================
  Files         367      367              
  Lines       36230    36238       +8     
==========================================
+ Hits        24757    24785      +28     
+ Misses       8282     8258      -24     
- Partials     3191     3195       +4     
Impacted Files Coverage Δ
go/runtime/committee/client.go 78.22% <100.00%> (+0.72%) ⬆️
go/consensus/tendermint/api/api.go 79.41% <0.00%> (-11.77%) ⬇️
go/worker/compute/executor/committee/state.go 74.07% <0.00%> (-11.12%) ⬇️
go/consensus/tendermint/abci/state/state.go 61.53% <0.00%> (-7.70%) ⬇️
go/worker/compute/executor/committee/node.go 61.39% <0.00%> (-4.71%) ⬇️
go/consensus/tendermint/roothash/roothash.go 63.87% <0.00%> (-4.63%) ⬇️
go/worker/storage/service_external.go 45.16% <0.00%> (-4.31%) ⬇️
go/worker/common/p2p/p2p.go 64.41% <0.00%> (-1.81%) ⬇️
go/storage/mkvs/checkpoint/checkpointer.go 63.70% <0.00%> (-1.49%) ⬇️
go/consensus/tendermint/abci/state.go 67.62% <0.00%> (-1.44%) ⬇️
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e39a3c6...ded2c6c. Read the comment docs.

@ptrus ptrus force-pushed the ptrus/fix/grpc-backoff-timeout branch from b7e67a1 to 4c6754b Compare June 19, 2020 13:41
@ptrus ptrus force-pushed the ptrus/fix/grpc-backoff-timeout branch from 4c6754b to ded2c6c Compare June 19, 2020 13:52
@ptrus ptrus merged commit ba384fc into master Jun 19, 2020
@ptrus ptrus deleted the ptrus/fix/grpc-backoff-timeout branch June 19, 2020 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants