Uh oh!
There was an error while loading. Please reload this page.
HBASE-26680 Close and do not write trailer for the broken WAL writer - #4174
Conversation
Apache-HBase
commented
Mar 7, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 7, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 7, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 7, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 7, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 7, 2022
🎊 +1 overall
This message was automatically generated. |
Apache9
left a comment
There was a problem hiding this comment.
Got your point.
But I suggest that we just close the output in the init method, the closeWithoutTrailer is a bit strange as we do not have other methods which indicate that there is trailer for the file?
Uh oh!
There was an error while loading. Please reload this page.
Apache-HBase
commented
Mar 10, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 10, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 10, 2022
💔 -1 overall
This message was automatically generated. |
sunhelly
commented
Mar 11, 2022
Thanks, @Apache9 , good idea. I have closed the output in the init method. |
Apache-HBase
commented
Mar 11, 2022
🎊 +1 overall
This message was automatically generated. |
Uh oh!
There was an error while loading. Please reload this page.
Apache-HBase
commented
Mar 11, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 11, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 14, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 14, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Mar 14, 2022
💔 -1 overall
This message was automatically generated. |
…4174) Signed-off-by: Duo Zhang <zhangduo@apache.org>
…4174) Signed-off-by: Duo Zhang <zhangduo@apache.org>
…4174) Signed-off-by: Duo Zhang <zhangduo@apache.org>
…pache#4174) Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 8cce0d3) Change-Id: I2514bda4a62089328ed5f561ef2b98798ec7d727
Broken writers need to be closed, so that when doing log split, there will be no need to recover lease for those length 0 wals.