[
https://issues.apache.org/jira/browse/HDFS-4191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kihwal Lee updated HDFS-4191:
-----------------------------
Attachment: hdfs-4191-trunk.patch
This patch allows logSync() to be invoked without any side effect (e.g.
incorrectly incrementing the batched sync counter) even when there is no
transactions logged by the calling thread. This allows calling logSync()
outside the namespace lock, after returning from a journey through a call tree,
at which point the caller is not sure about occurrence of transactions.
> Track new transactions per thread so that unnecessary logSync() calls can be
> avoided
> ------------------------------------------------------------------------------------
>
> Key: HDFS-4191
> URL: https://issues.apache.org/jira/browse/HDFS-4191
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 3.0.0
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Attachments: hdfs-4191-trunk.patch
>
>
> With this fix, logSync() can be called anytime by a thread without affecting
> the batched syncs metrics. As discussed in HDFS-4186, we will put this
> feature only to trunk first and let it soak for some time.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira