[#166] node: Parallelize background tree service sync #215
No reviewers
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
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#215
Loading…
Reference in a new issue
No description provided.
Delete branch "aarifullin/frostfs-node:feature/166-sync_tree"
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?
Signed-off-by: Airat Arifullin a.arifullin@yadro.com
@ -164,0 +182,4 @@
newHeight := uint64(math.MaxUint64)
for range nodes { // take minimum across all clients
height := <-heights
if height < newHeight {
possible hangup, fix this
@ -151,3 +149,1 @@
h, err := s.synchronizeSingle(ctx, cid, treeID, height, treeClient)
if height < h {
height = h
cc, err := grpc.DialContext(egCtx, a.URIAddr(), grpc.WithTransportCredentials(insecure.NewCredentials()))
I'm a little confused about these
err
variables. Can we separateerrGroup.Go
error and the errors inside the iterator?OK. Removed
err error
name at all. Now the method is returned byreturns nil
1075c16989
to94ece12084
94ece12084
to8b2885f242