sashapolo commented on code in PR #6815:
URL: https://github.com/apache/ignite-3/pull/6815#discussion_r2447152863
##########
modules/raft/src/main/java/org/apache/ignite/internal/raft/RaftGroupServiceImpl.java:
##########
@@ -613,6 +613,29 @@ private <R extends NetworkMessage> CompletableFuture<R>
sendWithRetry(
Supplier<String> originDescription,
Function<Peer, ? extends NetworkMessage> requestFactory,
boolean throttleOnOverload
+ ) {
+ return sendWithRetry(peer, timeoutMillis, -1, originDescription,
requestFactory, throttleOnOverload);
+ }
+
+ /**
+ * Sends a request with retry until success or reaches a timeout.
+ *
+ * @param peer Target peer to which the request will be sent.
+ * @param sendWithRetryTimeout Timeout for entire request sending (with
retries) in milliseconds, a negative value means no timeout.
Review Comment:
In my naming proposal I forgot to add `Millis` at the end. Up to you.
--
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]