Improve tree node switching #115
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
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
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#115
Loading…
Reference in a new issue
No description provided.
Delete branch "dkirillov/frostfs-s3-gw:bugfix/110-update_tree_switching_condition"
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?
Log tree method and request id on retry.
Switch on any errors but
not found
andaccess denied
Add redial for unhealthy tree clients
close #110
close #114
d8d436392d
to7edd827706
LGTM
@ -183,2 +188,4 @@
}
log := c.log.With(zap.String("request_id", api.GetRequestID(ctx)), zap.String("tree", treeID),
zap.String("method", "GetSubTree"))
I don't really like an idea of passing log object down to execution stack. I prefer storing required data in the context, like
request_id
.Keep it this way in this PR, but let's discuss it further in #111.