[ 
https://issues.apache.org/jira/browse/HDFS-17388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDFS-17388:
----------------------------------
    Labels: pull-request-available  (was: )

> [FGL] Create RPC supports this fine-grained locking I
> -----------------------------------------------------
>
>                 Key: HDFS-17388
>                 URL: https://issues.apache.org/jira/browse/HDFS-17388
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: ZanderXu
>            Assignee: ZanderXu
>            Priority: Major
>              Labels: pull-request-available
>
> The create RPC just involves directory tree if it creates a new file, and 
> most scenes are like this. It involves blocks only if the file is existing 
> and it tries to overwrite it.
> So in most scenarios, the create RPC just needs FS lock.
> The current implementation just holds the global write lock, so in order for 
> the improvement to be better accepted, the first step is just to replace the 
> lock mode without changing logic. We can minimize the scope of the global BM 
> lock in the second step.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to