You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/08/12 01:20:00 UTC
[jira] [Updated] (HDDS-16158) Fix sendDeleteKeysRequestAndClearList Authorization and FSO Trash Handling
[ https://issues.apache.org/jira/browse/HDDS-16158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-16158:
----------------------------------
Labels: pull-request-available (was: )
> Fix sendDeleteKeysRequestAndClearList Authorization and FSO Trash Handling
> --------------------------------------------------------------------------
>
> Key: HDDS-16158
> URL: https://issues.apache.org/jira/browse/HDDS-16158
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Priyesh Karatha
> Assignee: Priyesh Karatha
> Priority: Major
> Labels: pull-request-available
>
> {{sendDeleteKeysRequestAndClearList}} has two related issues that prevent delete-key requests from being handled correctly in production, particularly when ACLs are enabled and when FSO trash handling is configured.
> First, {{sendDeleteKeysRequestAndClearList}} submits the Ratis request without executing {{preExecute}} under the appropriate UGI context. As a result, {{userInfo.userName}} remains blank. When ACLs are enabled, {{resolveBucketLink}} attempts to create a UGI from the blank user information and fails with {{{}UNAUTHORIZED{}}}.
> Second, {{ozoneTrash}} is captured during {{KeyManager}} construction, before {{OzoneManager.startTrashEmptier()}} is invoked. Since all {{OzoneManager}} startup paths call {{keyManager.start()}} before starting the trash emptier, {{ozoneManager.getOzoneTrash()}} is {{null}} when the constructor runs. The field is never updated afterward, causing the FSO {{moveToTrash}} path in {{handleAndClearFullList}} to remain unreachable in production.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org