[
https://issues.apache.org/jira/browse/HDDS-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16805226#comment-16805226
]
Bharat Viswanadham commented on HDDS-1300:
------------------------------------------
Hi [~ljain]
But createFile internally calls openKey, and that internally calls
allocateBlock. So, this createFile should happen only leader.
{quote}Thanks for reviewing the patch! v8 patch removes the allocateBlock call
in createFile function. The allocateBlock call can be added in a followup jira.
{quote}
Not sure what you mean here? (Because, internally openKey calls allocateBlock)
And I see this Jira got committed. So we want to open a new Jira and address
this?
> Optimize non-recursive ozone filesystem apis
> --------------------------------------------
>
> Key: HDDS-1300
> URL: https://issues.apache.org/jira/browse/HDDS-1300
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Components: Ozone Filesystem, Ozone Manager
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Major
> Fix For: 0.5.0
>
> Attachments: HDDS-1300.001.patch, HDDS-1300.002.patch,
> HDDS-1300.003.patch, HDDS-1300.004.patch, HDDS-1300.005.patch,
> HDDS-1300.006.patch, HDDS-1300.007.patch, HDDS-1300.008.patch
>
>
> This Jira aims to optimise non recursive apis in ozone file system. The Jira
> would add support for such apis in Ozone manager in order to reduce the
> number of rpc calls to Ozone Manager.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]