EgorKuts commented on code in PR #7008:
URL: https://github.com/apache/ignite-3/pull/7008#discussion_r2554650319
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/DisasterRecoveryManager.java:
##########
@@ -1250,6 +1273,40 @@ private void putRecoveryTriggerIfRevisionIsNotProcessed(
});
}
+ /**
+ * Forwards a disaster recovery request to a specific node.
+ *
+ * @param request The disaster recovery request to forward.
+ * @param revision Revision of event, which produce this recovery request,
or -1 for manual requests.
+ * @param targetNodeName Name of the target node to forward the request to.
+ * @return Future that completes when the forwarded request is processed.
+ */
+ private CompletableFuture<Void> forwardDisasterRecoveryRequest(
+ DisasterRecoveryRequest request,
+ long revision,
+ String targetNodeName
+ ) {
+ byte[] serializedRequest = VersionedSerialization.toBytes(request,
DisasterRecoveryRequestSerializer.INSTANCE);
Review Comment:
i don't get it. isn't DisasterRecoveryRequestSerializer explicit serializer?
--
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]