[#226] pool/tree: Fix handling access denied error #226

Merged
dkirillov merged 1 commits from dkirillov/frostfs-sdk-go:bugfix/pool_drop_access_denied_retry into master 2024-05-31 07:43:21 +00:00
Collaborator

Signed-off-by: Denis Kirillov d.kirillov@yadro.com

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
dkirillov self-assigned this 2024-05-30 11:59:17 +00:00
dkirillov added 1 commit 2024-05-30 11:59:19 +00:00
DCO / DCO (pull_request) Failing after 1m6s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 1m16s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 1m53s Details
Tests and linters / Lint (pull_request) Successful in 3m12s Details
f1995db70a
[#XX] pool/tree: Fix handling access denied error
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
dkirillov changed title from WIP: [#XX] pool/tree: Fix handling access denied error to WIP: [#226] pool/tree: Fix handling access denied error 2024-05-30 11:59:28 +00:00
dkirillov force-pushed bugfix/pool_drop_access_denied_retry from f1995db70a to 6a52487edd 2024-05-30 11:59:50 +00:00 Compare
dkirillov changed title from WIP: [#226] pool/tree: Fix handling access denied error to [#226] pool/tree: Fix handling access denied error 2024-05-30 14:26:15 +00:00
dkirillov requested review from storage-core-committers 2024-05-30 14:26:26 +00:00
dkirillov requested review from storage-core-developers 2024-05-30 14:26:29 +00:00
dkirillov requested review from storage-sdk-committers 2024-05-30 14:26:29 +00:00
dkirillov requested review from storage-sdk-developers 2024-05-30 14:26:30 +00:00
dkirillov requested review from storage-services-committers 2024-05-30 14:26:31 +00:00
dkirillov requested review from storage-services-developers 2024-05-30 14:26:31 +00:00
ironbee approved these changes 2024-05-30 14:28:57 +00:00
pogpp approved these changes 2024-05-30 14:29:34 +00:00

@dkirillov
Can you provide error message we are matching with denied but not is denied by?
Should we create an issue to use specific error codes to avoid string matching? Maybe there is an issue already?

@dkirillov Can you provide error message we are matching with `denied` but not `is denied by`? Should we create an issue to use specific error codes to avoid string matching? Maybe there is an issue already?
aarifullin approved these changes 2024-05-30 14:52:51 +00:00
Poster
Collaborator

Can you provide error message we are matching with denied but not is denied by?

rpc error: code = Unknown desc = status: code = 2048 message = access to object operation denied

Should we create an issue to use specific error codes to avoid string matching

Probably yes, but I'm not sure if we don't forget mention all accessDenied error types (strings.Contains also has some problem though)

> Can you provide error message we are matching with denied but not is denied by? `rpc error: code = Unknown desc = status: code = 2048 message = access to object operation denied` > Should we create an issue to use specific error codes to avoid string matching Probably yes, but I'm not sure if we don't forget mention all accessDenied error types (`strings.Contains` also has some problem though)
dkirillov merged commit 6a52487edd into master 2024-05-31 07:43:21 +00:00
dkirillov deleted branch bugfix/pool_drop_access_denied_retry 2024-05-31 07:43:21 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-committers
TrueCloudLab/storage-sdk-developers
No Milestone
No Assignees
5 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-sdk-go#226
There is no content yet.