Do not allow to delete or lock EC chunks #1213

Merged
fyrchik merged 4 commits from dstepanov-yadro/frostfs-node:fix/lock_ec_chunk into master 2024-07-01 06:49:41 +00:00

Do not allow to delete or lock EC chunks.

Delete implemented as RPC, so check performed on server side.
Lock implemented as Put call, so check performed on client side.

Anyway client can use Put RPC to delete and lock EC chunks, but we do not forbid shooting ourselves in the foot.

Do not allow to delete or lock EC chunks. `Delete` implemented as RPC, so check performed on server side. `Lock` implemented as `Put` call, so check performed on client side. Anyway client can use `Put` RPC to delete and lock EC chunks, but we do not forbid shooting ourselves in the foot.
dstepanov-yadro force-pushed fix/lock_ec_chunk from 3fe753959d to 5196c79eff 2024-06-28 14:53:04 +00:00 Compare
dstepanov-yadro requested review from storage-core-committers 2024-06-28 14:59:20 +00:00
dstepanov-yadro requested review from storage-core-developers 2024-06-28 15:00:28 +00:00
dstepanov-yadro force-pushed fix/lock_ec_chunk from 5196c79eff to 287a2431b7 2024-06-28 15:04:54 +00:00 Compare
dstepanov-yadro added 1 commit 2024-06-28 19:37:12 +00:00
[#1213] engine: Drop unused
All checks were successful
DCO action / DCO (pull_request) Successful in 4m15s
Vulncheck / Vulncheck (pull_request) Successful in 4m37s
Build / Build Components (1.21) (pull_request) Successful in 5m8s
Build / Build Components (1.22) (pull_request) Successful in 5m1s
Tests and linters / gopls check (pull_request) Successful in 5m23s
Tests and linters / Staticcheck (pull_request) Successful in 6m6s
Tests and linters / Lint (pull_request) Successful in 7m30s
Pre-commit hooks / Pre-commit (pull_request) Successful in 9m10s
Tests and linters / Tests (1.21) (pull_request) Successful in 10m32s
Tests and linters / Tests with -race (pull_request) Successful in 10m32s
Tests and linters / Tests (1.22) (pull_request) Successful in 11m10s
77866f6715
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
acid-ant approved these changes 2024-07-01 06:25:50 +00:00
fyrchik approved these changes 2024-07-01 06:49:20 +00:00
fyrchik merged commit 7a8ac4907a into master 2024-07-01 06:49:41 +00:00
fyrchik referenced this pull request from a commit 2024-07-01 06:49:42 +00:00
fyrchik referenced this pull request from a commit 2024-07-01 06:49:42 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
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#1213
No description provided.