Command object hash range
returned object not found
#891
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 project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#891
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Expected Behavior
Command
object hash range
should return hash on object rangeCurrent Behavior
Command
object hash range
returnedobject not found
Steps to Reproduce (for bugs)
1.Create container
2.Put object
3.Try to get hash of object range
4.In the logs we saw the following messages about this OID.
Context
Autotest
testsuites.object.test_object_api.TestObjectApi#test_object_get_range_hash
.Test was success on 4 nodes systems on cloud and HW.
Regression
No
Version
Your Environment
32 nodes
cloud
Reproduced on 32 node cluster:
I added some extra logs:
Looks like HEAD request executed with owner's signature:
But GET_RANGE request executed with node's signature:
For
get_range
it is expected: we create a new request if an object is missing locally, becauseGetRange
request is allowed to contain multiple ranges, each of which may be redirected to a different node.But from user's POV it looks strange: user can download object, but can't get range hash
With eACL this is by design, we do not prevent shooting ourselves in the foot.
Now non-container node forwards get range hash request to one of container-nodes.