Uh oh!
There was an error while loading. Please reload this page.
HBASE-24183 [flakey test] replication.TestAddToSerialReplicationPeer - #1514
Conversation
Apache-HBase
commented
Apr 14, 2020
🎊 +1 overall
This message was automatically generated. |
huaxiangsun
commented
Apr 15, 2020
There are two flakies. testAddToSerialPeer failure is that it just needs to make sure the source RS's inmemory map contains only the new wal file. (not the RS which region moves to) After that, there is still one failure which is common to testAddToSerialPeer and testChangeToSerial. If the old wal file before rollover is still in the inmemory map of replicateSourceManager, during peer disable/enable/config update, it could be still be replicated over from the begin to peer cluster. If that happens, the old wal entries and the new wal entries will be written to the same wal file (which results in out of order seq numbers). waitUntilReplicatedToTheCurrentWALFile() does not really guarantee that the inmemory map is forwarded to the new wal file, there is a small window that there is only one wal file in map which is the old wal file. Added a new check to make sure that inmemory map only has the new wal file. This could happen in the production cluster as well, however I do not think this is the purpose of these two test cases. @Apache9, please provide your input, thanks. |
Apache-HBase
commented
Apr 15, 2020
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Apr 15, 2020
💔 -1 overall
This message was automatically generated. |
Test failures related @huaxiangsun ? Let me rerun the tests to see.... Otherwise, +1 on patch. Lets try it. I like the root cause analysis. Stick that up on the issue tooo. |
huaxiangsun
commented
Apr 15, 2020
Thanks @Apache9 and @saintstack. The failed tests are not related cause the patch is in the specific test case. I checked the failed three cases, they are all due to malformat xml error so could related to the known native thread issue. |
huaxiangsun
commented
Apr 15, 2020
Forwarded the comments to the jira. |
Apache-HBase
commented
Apr 15, 2020
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Apr 15, 2020
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Apr 15, 2020
💔 -1 overall
This message was automatically generated. |
huaxiangsun
commented
Apr 15, 2020
Test failures are unrelated, merging, thanks for the review. |
…pache#1514) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: stack <stack@apache.org>
…pache#1514) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: stack <stack@apache.org>
…pache#1514) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: stack <stack@apache.org>
…pache#1514) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: stack <stack@apache.org>
…pache#1514) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: stack <stack@apache.org>
…pache#1514) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: stack <stack@apache.org>
…pache#1514) (apache#1526) Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: stack <stack@apache.org>
Will put up a root cause analysis later.