zhengzhuobinzzb commented on a change in pull request #3876:
URL: https://github.com/apache/hbase/pull/3876#discussion_r755995937
##########
File path:
hbase-replication/src/test/java/org/apache/hadoop/hbase/replication/TestZKReplicationQueueStorage.java
##########
@@ -206,18 +206,22 @@ public void testAddRemoveLog() throws
ReplicationException {
}
}
- // For HBASE-12865
+ // For HBASE-12865, HBASE-26482
Review comment:
In old code, cversion will increase because we not prepare server node
of server2, so in the claimQueue method, we will create dest server znode if we
not prepare. (We can find that if we prepare the znode of server2, this test
will failed in old code.)
In new code, cversion will increase because out trick create and delete
'cversion_XXX' znode in root queueZnode.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]