You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ivan Andika (Jira)" <ji...@apache.org> on 2025/08/15 06:55:00 UTC

[jira] [Commented] (HDDS-6402) Introduce hashed key path locks for OBS bucket

    [ https://issues.apache.org/jira/browse/HDDS-6402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014054#comment-18014054 ] 

Ivan Andika commented on HDDS-6402:
-----------------------------------

Hi [~tanvipenumudy] , can I check whether there is a reason why OBSKeyPathLockStrategy is only applied on OMKeyCreateRequest, but not OMKeyCommitRequest?

Furthermore, is there any plan to apply for MPU related requests?

> Introduce hashed key path locks for OBS bucket
> ----------------------------------------------
>
>                 Key: HDDS-6402
>                 URL: https://issues.apache.org/jira/browse/HDDS-6402
>             Project: Apache Ozone
>          Issue Type: New Feature
>          Components: Ozone Manager
>            Reporter: Rakesh Radhakrishnan
>            Assignee: Tanvi Penumudy
>            Priority: Major
>             Fix For: 1.3.0
>
>         Attachments: KEY_PATH_LOCK Design Document.pdf
>
>
> The goal of this task is to allow more concurrent operations(mixture of write and read) by replacing the global lock with a {{hash locking mechanism}} on key path.
> The performance of Ozone’s metadata write operations is limited by a {{{}bucket lock{}}}, which is a *global lock* for key operations. Each metadata write operation acquires the global bucket lock and holds it until that metadata operation is finished. This prevents concurrent execution of write and read operations even if they are fully independent on disjoint key paths. 
> In this task, we will be considering only the keys stored under {{OBJECT_STORE("OBS")}} bucket layout format. In future, the plan is to refine bucket locks for FSO bucket layouts as well, where we will need more complex hierarchical structure prefix based locking mechanism.



--
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