Uh oh!
There was an error while loading. Please reload this page.
HBASE-28665 WALs not marked closed when there are errors in closing WALs - #6027
Conversation
Apache-HBase
commented
Jun 26, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 26, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 26, 2024
💔 -1 overall
This message was automatically generated. |
Apache9
left a comment
There was a problem hiding this comment.
This is only for 2.5.x? Other branches are not affected?
kiran-maturi
commented
Jun 26, 2024
@Apache9 This impacts other branches (branch-2.x) as well. I have started with 2.5 will create pull request for other branches as well. Please let me know if we need to start with any specific branch for 2.x |
Apache-HBase
commented
Jun 28, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 28, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 28, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 28, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 29, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 29, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 29, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 30, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 30, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 30, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 30, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 30, 2024
🎊 +1 overall
This message was automatically generated. |
kiran-maturi
commented
Jul 1, 2024
@virajjasani@apurtell can you please help with the review |
virajjasani
left a comment
There was a problem hiding this comment.
Changes look good, master branch does not check for unflushed entries anymore. @Apache9 is it because of HBASE-27231?
virajjasani
commented
Jul 2, 2024
@kiran-maturi could you please create PR against branch-2? From branch-2, we can backport to both 2.6 and 2.5 cleanly. Since this PR is already opened, 2.5 is already covered but usually branch-2 PR is required to run all tests. |
| closeWriter(this.writer, oldPath, true); | ||
| } finally { | ||
| inflightWALClosures.remove(oldPath.getName()); | ||
| if (!isUnflushedEntries()) { |
There was a problem hiding this comment.
Similar to the code below at line 403, should we also have a catch block to Log a WARNING?
Does it make any difference to first remove old path and then call markCloseAndClean or vice versa? Since the JIRA said we are trying to follow the similar as below, we can try to keep it same?
There was a problem hiding this comment.
Just another question, does closeWriter also flush?
There was a problem hiding this comment.
@ranganathginflightWALClosures.remove(oldPath.getName()); was there previously as well so not changing the behaviour there. We are explicitly looking for the closing for cleanup
Just another question, does closeWriter also flush?
No, this is in the write path it will not trigger any flush
There was a problem hiding this comment.
@ranganathg sorry I got confused with the flush for region. If you are asking for flush for the entries that are there on the ringbuffer that will be done by the sycn runner threads which will increment the sequenceId
virajjasani
commented
Jul 11, 2024
Merged changes to branch-2 and branch-2.6, let me merge this PR now. |
Jira: HBASE-28665