HDFS-17922 rename2 in the router asynchronous RPC is missing an async path#8500
HDFS-17922 rename2 in the router asynchronous RPC is missing an async path#8500dParikesit wants to merge 1 commit into
Conversation
|
Hello @KeeProMise , would you be able to help review this PR? This is similar to the router async rpc problem in #8297. Thank you very much! |
|
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
LGTM. @hfutatzhanghb if you have time, please help to take a look at this PR, thanks!
hfutatzhanghb
left a comment
There was a problem hiding this comment.
@KeeProMise Thanks a lot for involving me. Thanks @dParikesit report this issue, make sense to me. But i suggest to update the unit test case to better clarify the bug. When i drop asyncComplete(null);, the unit test you submit can also pass.
|
Hello, @hfutatzhanghb Thanks for reviewing the pr.
Interesting. Can you elaborate more about your setup and how you run the test? I'm testing it on an Intel Xeon Silver 4310 with Ubuntu 22.04. It passed with the asyncComplete, and gave this assertion error without the asyncComplete.
|
LGTM. +1
|



Description of PR
JIRA: HDFS-17922
In RouterAsyncClientProtocol:rename2, there is a path that returns synchronously if we have empty locations
if (locs.isEmpty).There are other paths that behave similarly, such as msync()
We propose to add a patch to add
asyncComplete(null);before the return.How was this patch tested?