WIP: Process EC container for Get/GetRange/Head concurrently #1237

Closed
dstepanov-yadro wants to merge 6 commits from dstepanov-yadro/frostfs-node:fix/ec_get_failover into master
2 changed files with 3 additions and 3 deletions
Showing only changes of commit fa642d95c7 - Show all commits

View file

@ -110,7 +110,7 @@ func (r *request) processRepNodes(ctx context.Context, traverser *placement.Trav
client.NodeInfoFromNetmapElement(&info, addrs[i])
if r.processNode(ctx, info) {
if r.processRepNode(ctx, info) {
r.log.Debug(logs.GetCompletingTheOperation)
return true
}

View file

@ -15,8 +15,8 @@ import (
var errECObjectInRepContainer = errors.New("found erasure-coded object in REP container")
func (r *request) processNode(ctx context.Context, info client.NodeInfo) bool {
ctx, span := tracing.StartSpanFromContext(ctx, "getService.processNode")
func (r *request) processRepNode(ctx context.Context, info client.NodeInfo) bool {
ctx, span := tracing.StartSpanFromContext(ctx, "getService.processRepNode")
defer span.End()
r.log.Debug(logs.ProcessingNode, zap.String("node_key", hex.EncodeToString(info.PublicKey())))