-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-18425. ABFS rename resilience through etags #5485
HADOOP-18425. ABFS rename resilience through etags #5485
Conversation
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Hello, here is the PR relevant to HADOOP-18012: #5488. The code change is slightly different, but could similar tests be useful in this case too? The tests mock the entire scenario of a retry happening with first 500 and then a source not found error, and triggers an idempotency check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making this change @steveloughran. We should be able to avoid additional GetPathStatus call once the E2E change that we are working on is ready. That will recover by transaction Id sent in rename request hence can avoid the initial metadata.
If "fs.azure.enable.rename.resilience" is true, then do a HEAD of the source file before the rename, which can then be used to recover from the failure, as the manifest committer does (HADOOP-18163). Change-Id: Ia417f1501f7274662eb9ff919c6378fb913b476b HADOOP-18425. ABFS rename resilience through etags only get the etag on HNS stores Change-Id: I9faffa78294e1782f0b2db3d1c997ec3fe53637c
3e15366
to
da1a2dc
Compare
💔 -1 overall
This message was automatically generated. |
If "fs.azure.enable.rename.resilience" is true, then do a HEAD of the source file before the rename, which can then be used to recover from the failure, as
the manifest committer does (HADOOP-18163).
How was this patch tested?
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?