[
https://issues.apache.org/jira/browse/HDFS-5281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Li updated HDFS-5281:
-----------------------------
Attachment: HDFS-5281.001.patch
There are at least two ways to serve COMMIT asynchronously.
1. save the commit requests in OpenFileCtx, and check if any commit is
satisfied after each write.
2. save the commit requests in WriteCtx, return response after the
corresponding WriteCtx is removed.
The uploaded patch implements the first approach.
> COMMIT request should not block
> -------------------------------
>
> Key: HDFS-5281
> URL: https://issues.apache.org/jira/browse/HDFS-5281
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: nfs
> Reporter: Brandon Li
> Assignee: Brandon Li
> Attachments: HDFS-5281.001.patch
>
>
> Currently Commit request is handled synchronously, blocked at most 30 seconds
> before timeout. This JIRA is to make is asynchronous and thus it won't block
> other requests coming from the same channel.
--
This message was sent by Atlassian JIRA
(v6.1#6144)