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
HBASE-25053 WAL replay should ignore 0-length files #2437
Conversation
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
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.
+1
This is just a simple optimization or something related to correctness? I'm not sure whether at this step we have finished recoverLease for all the WAL files? I mean whether the length in the FileStatus can be trusted? Thanks. |
714367c
to
b3f83c0
Compare
Yes, we should invoke |
🎊 +1 overall
This message was automatically generated. |
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
Outdated
Show resolved
Hide resolved
b3f83c0
to
f80000e
Compare
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
This has not been added? Files that have not been closed show as 0-length. I'm concerned looking at length will have us miss edits. Can you address my concern? Thanks. |
@saintstack as Duo Zhang comments in the above conversation? |
f80000e
to
33ed633
Compare
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@Apache9 @saintstack This PR can be merged and closed? |
@saintstack please have a look, thanks |
I‘m OK with merging. |
@nyl3532016 Sorry for delay. |
Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
No description provided.