Skip to content

client: Type field of object GetRangeHash is ignored #663

@cthulhu-rider

Description

@cthulhu-rider

Client ignores https://github.com/nspcc-dev/neofs-api/blob/e66b25d4bf2afc4472023e1e2c2467f694f5a0e1/object/service.proto#L699. Now server can respond with any value, even negative

no error may be OK when value is unset. Its presence in the protocol is very questionable to me

Current Behavior

field is ignored

Expected Behavior

field is verified

Possible Solution

require equality to the requested one. As option, also allow zero

Steps to Reproduce

Regression

no

Metadata

Metadata

Assignees

No one assigned

    Labels

    I4No visible changesS4RoutineU3RegularbugSomething isn't workingclientIssue related to the client

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions