vldpyatkov commented on code in PR #1648:
URL: https://github.com/apache/ignite-3/pull/1648#discussion_r1100510706
##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/rpc/CliRequests.java:
##########
@@ -187,4 +189,26 @@ public interface LearnersOpResponse extends Message {
Collection<String> newLearnersList();
}
+
+ @Transferable(value =
RaftMessageGroup.RpcClientMessageGroup.SUBSCRIPTION_LEADER_CHANGE_REQUEST)
+ public interface SubscriptionLeaderChangeRequest extends Message {
+ @Marshallable
+ ReplicationGroupId groupId();
+
+ /**
+ * Gets a subscription flag.
+ *
+ * @return True if subscription is started, false when it finished.
+ */
+ boolean subscribe();
+ }
+
+ @Transferable(value =
RpcClientMessageGroup.SUBSCRIPTION_LEADER_CHANGE_RESPONSE_ACKNOWLEDGE)
+ public interface SubscriptionLeaderChangeRequestAcknowledge extends
Message {
+ }
+
+ @Transferable(value =
RpcClientMessageGroup.SUBSCRIPTION_LEADER_CHANGE_RESPONSE)
+ public interface SubscriptionLeaderChangeResponse extends Message {
Review Comment:
ok
--
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]