Incompatibility with disabled homomorphic hashing #508

Closed
opened 2025-12-28 17:37:38 +00:00 by sami · 1 comment
Owner

Originally created by @roman-khimov on GitHub (Apr 25, 2025).

Originally assigned to: @smallhive on GitHub.

Current Behavior

S3 will fail to create a container if network is configured with

HomomorphicHashingDisabled:  true (bool)

Expected Behavior

Success.

Possible Solution

Similar to nspcc-dev/neofs-rest-gw@c8700e90af/handlers/containers.go (L516)

Ensure you're using up to date network settings.

Steps to Reproduce

Disable homo hashes in a network, create a container.

Context

Homo hashes are slow like hell.

Regression

Maybe. We tested homo-disabled S3 previously and it worked.

Your Environment

  • Version of the product used: 0.36.0
Originally created by @roman-khimov on GitHub (Apr 25, 2025). Originally assigned to: @smallhive on GitHub. ## Current Behavior S3 will fail to create a container if network is configured with ``` HomomorphicHashingDisabled: true (bool) ``` ## Expected Behavior Success. ## Possible Solution Similar to https://github.com/nspcc-dev/neofs-rest-gw/blob/c8700e90af939768eba0ed0b78950fd5d1bcae0e/handlers/containers.go#L516 Ensure you're using up to date network settings. ## Steps to Reproduce Disable homo hashes in a network, create a container. ## Context Homo hashes are slow like hell. ## Regression Maybe. We tested homo-disabled S3 previously and it worked. ## Your Environment * Version of the product used: 0.36.0
sami 2025-12-28 17:37:38 +00:00
  • closed this issue
  • added the
    bug
    S4
    I4
    U1
    labels
Author
Owner

@roman-khimov commented on GitHub (Apr 25, 2025):

Hmm. Maybe it works.

info api/router.go:177 call method {"host": "localhost:9080", "request_id": "996977fe-9c26-4e07-8674-5122f3928016", "method": "CreateBucket", "bucket": "huhuhu", "object": ""}
info handler/put.go:814 bucket is created {"reqId": "996977fe-9c26-4e07-8674-5122f3928016", "bucket": "huhuhu", "container_id": "4yKMyqk8c1SWvJabbAbyDtwm1LyBTsR5vRcDBrdDU7Fd"}

@roman-khimov commented on GitHub (Apr 25, 2025): Hmm. Maybe it works. > info api/router.go:177 call method {"host": "localhost:9080", "request_id": "996977fe-9c26-4e07-8674-5122f3928016", "method": "CreateBucket", "bucket": "huhuhu", "object": ""} info handler/put.go:814 bucket is created {"reqId": "996977fe-9c26-4e07-8674-5122f3928016", "bucket": "huhuhu", "container_id": "4yKMyqk8c1SWvJabbAbyDtwm1LyBTsR5vRcDBrdDU7Fd"}
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-s3-gw#508
No description provided.