Upgrade google.golang.org/grpc
version #1374
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1374
Loading…
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:feat/upgrade_grpc_version"
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?
For
frostfs-cli tree ...
and tree syncing it is ok to defer dial to first RPC call.For tree cache use
Healthcheck
call to dial.22d95e4454
toe100d57662
@ -47,3 +40,1 @@
cc, err := grpc.DialContext(ctx, netAddr.URIAddr(), opts...)
cancel()
cc, err := grpc.NewClient(netAddr.URIAddr(), opts...)
It changes the behaviour if the service is unavailable.
Before we have failed after 2 seconds what is the timeout now?
Fixed: user defined one
@ -111,0 +120,4 @@
ctx, cancel := context.WithTimeout(ctx, defaultClientConnectTimeout)
defer cancel()
// perform some request to check connection
if _, err := NewTreeServiceClient(cc).Healthcheck(ctx, req); err != nil {
Can we use only connection methods, like
WaitForStateChange
?I checked the option with
WaitForStateChange
, but it requirescc.Connect()
call which is experimental. So I decided to perform regualr RPC request.e100d57662
to4287223662
4287223662
to471b0435d3
The last commit has invalid # number
The last commit has invalid prefix (we use
go.mod:
)471b0435d3
to89d0435b1d
Fixed