Uh oh!
There was an error while loading. Please reload this page.
HBASE-28140 AbstractWALProvider may miss the WAL which is under creat… - #5455
Conversation
…ion in getWALs method
Apache-HBase
commented
Oct 8, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 8, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 8, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 9, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 9, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 9, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 9, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 9, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 9, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 11, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 11, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 11, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 12, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 12, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 12, 2023
💔 -1 overall
This message was automatically generated. |
Apache9
commented
Oct 12, 2023
The failed UTs are not related. Not sure why TestZooKeeper can fail with time out... Saw it several times recently... |
| numRemoteWALUnderCreationLock.unlock(); | ||
| } | ||
| initWAL(wal); | ||
| peerId2WAL.put(peerId, Optional.of(wal)); |
There was a problem hiding this comment.
These code modifications look good to me, but I am not familiar with AbstractWALProvider. I have a question: What happens if a 'remoteWAL' is being constructed, but getWALs() doesn't return it? (The 'remoteWAL' being constructed has not been put into peerId2WAL yet.)
There was a problem hiding this comment.
You can see the analysis in this PR.
It will cause problem for replication. We rely on whether a WAL file is beingWritten to determine whether we can move on to the next file. If we miss a WAL here but the WAL file has been put into the replication queue, we could get beingWritten == false but actually the file is beingWritten, which causes unexpected behavior...
…ion in getWALs method (apache#5455) Signed-off-by: GeorryHuang <huangzhuoyue@apache.org> Signed-off-by: Xiaolin Ha <haxiaolin@apache.org> Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
…ion in getWALs method