Xushaohong commented on code in PR #4128:
URL: https://github.com/apache/ozone/pull/4128#discussion_r1083738625
##########
hadoop-hdds/interface-client/src/main/proto/hdds.proto:
##########
@@ -451,3 +451,11 @@ message ContainerBalancerConfigurationProto {
required bool shouldRun = 18;
optional int32 nextIterationIndex = 19;
}
+
+message TransferLeadershipRequestProto {
+ required bool isRandom = 1;
Review Comment:
Yep, the flag is a bit wasting. I intended to explictly distinguish the
cases with -n and -r. Thx @kerneltime for the suggestion.
##########
hadoop-ozone/dist/src/main/smoketest/omha/testOMHA.robot:
##########
@@ -182,4 +194,21 @@ Restart OM and Verify Ratis Logs
# Verify that the logs match with the Leader OMs logs
List Should Contain Sub List ${logsAfter} ${logsLeader}
+Transfer Leadership for OM
+ # Check OM write operation before failover
+ Create volume and bucket
+ Write Test File
+ # Find Leader OM and one Follower OM
Review Comment:
Done
--
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]