joseluisll commented on code in PR #8717:
URL: https://github.com/apache/hadoop/pull/8717#discussion_r3947060255


##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestStandbyCheckpoints.java:
##########
@@ -764,13 +764,29 @@ public void testLastCheckpointTime() throws Exception {
     nns[0].getRpcServer().rollEditLog();
     HATestUtil.waitForCheckpoint(cluster, 0, ImmutableList.of(23));
 
+    // The wait above only says the active holds the new image.  Every standby

Review Comment:
   Correct, my comment was wrong. transitionToObserver(2) precedes the edits 
and startStandbyServices only builds a StandbyCheckpointer when !isObserver, so 
nns[1] is the only uploader. Reworded to put the gap where you did.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to