Fix head --raw
request handling for EC #1271
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1271
Loading…
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:fix/ec_head_raw"
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?
Now
head --raw
requests can be processed not only on container node with request forwarding to container node. At the same time, such requests are now executed sequentially, as it is much easier to implement.Also fix extra bug in EC assemble.
88f6186104
to7fd7961dfa
@ -294,3 +238,3 @@
}
var addr oid.Address
addr.SetContainer(addr.Container())
addr.SetContainer(a.addr.Container())
Shame on me
It seems like another bug, what could happen here?
The local chunk was never taken in the assembly of the object.
@ -61,3 +69,4 @@
case errors.As(err, &errECInfo):
r.status = statusEC
r.err = r.infoEC.addRemote(string(info.PublicKey()), errECInfo.ECInfo())
if r.isRaw() {
It can be written more simply, but it's clearer this way.
questionable, but ok
OK with me