putSvc: Fix relay #1394

Merged
acid-ant merged 1 commit from dstepanov-yadro/frostfs-node:fix/put_relay into master 2024-09-25 15:34:18 +00:00

Put must use relay only with signature: https://git.frostfs.info/TrueCloudLab/frostfs-node/src/branch/support/v0.42/pkg/services/object/put/streamer.go#L80
After #1344 and #1392 put service tries to relay request without signature. Put v2/streamer doesn't save chunks, so relay does nothing.

Put must use relay only with signature: https://git.frostfs.info/TrueCloudLab/frostfs-node/src/branch/support/v0.42/pkg/services/object/put/streamer.go#L80 After https://git.frostfs.info/TrueCloudLab/frostfs-node/pulls/1344 and https://git.frostfs.info/TrueCloudLab/frostfs-node/pulls/1392 put service tries to relay request without signature. Put v2/streamer doesn't save chunks, so relay does nothing.
dstepanov-yadro added 1 commit 2024-09-25 14:27:43 +00:00
[#9999] putSvc: Fix relay
All checks were successful
DCO action / DCO (pull_request) Successful in 1m6s
Tests and linters / Run gofumpt (pull_request) Successful in 1m47s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m25s
Vulncheck / Vulncheck (pull_request) Successful in 2m18s
Build / Build Components (pull_request) Successful in 2m38s
Tests and linters / gopls check (pull_request) Successful in 2m51s
Tests and linters / Staticcheck (pull_request) Successful in 3m32s
Tests and linters / Lint (pull_request) Successful in 4m10s
Tests and linters / Tests (pull_request) Successful in 6m19s
Tests and linters / Tests with -race (pull_request) Successful in 6m22s
c03b4ab19a
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
dstepanov-yadro force-pushed fix/put_relay from c03b4ab19a to a5e1aa22c9 2024-09-25 14:28:43 +00:00 Compare
dstepanov-yadro requested review from storage-core-committers 2024-09-25 14:37:28 +00:00
dstepanov-yadro requested review from storage-core-developers 2024-09-25 14:37:31 +00:00
aarifullin approved these changes 2024-09-25 14:59:55 +00:00
aarifullin left a comment
Member

Thanks for this important fix

Thanks for this important fix
acid-ant approved these changes 2024-09-25 15:34:11 +00:00
acid-ant merged commit a5e1aa22c9 into master 2024-09-25 15:34:18 +00:00
acid-ant referenced this pull request from a commit 2024-09-25 15:34:20 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
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: TrueCloudLab/frostfs-node#1394
No description provided.