Fix checking EC parent existence on Put object to shard support/v0.44 #1551

Merged
dstepanov-yadro merged 3 commits from dstepanov-yadro/frostfs-node:fix/patch_removed_ec_v044 into support/v0.44 2024-12-11 10:17:28 +00:00
Showing only changes of commit 47f12f8440 - Show all commits

View file

@ -281,6 +281,8 @@ func (p *Policer) adjustECPlacement(ctx context.Context, objInfo objectcore.Info
}
chunkIDs[ch.Index] = ecInfoChunkID
}
} else if client.IsErrObjectAlreadyRemoved(err) {
restore = false
} else if !p.cfg.netmapKeys.IsLocalKey(n.PublicKey()) && uint32(idx) < objInfo.ECInfo.Total {
p.log.Warn(ctx, logs.PolicerCouldNotGetObjectFromNodeMoving, zap.String("node", hex.EncodeToString(n.PublicKey())), zap.Stringer("object", parentAddress), zap.Error(err))
p.replicator.HandleReplicationTask(ctx, replicator.Task{