Cyrill commented on code in PR #7507:
URL: https://github.com/apache/ignite-3/pull/7507#discussion_r2852715876
##########
modules/raft-api/src/main/java/org/apache/ignite/internal/raft/service/TimeAwareRaftGroupService.java:
##########
@@ -176,13 +195,16 @@ public interface TimeAwareRaftGroupService {
* @param term Current known leader term.
* If real raft group term will be different - configuration
update will be skipped.
* @param sequenceToken Sequence token of the current change.
+ * @param timeoutMillis Timeout in milliseconds. {@code 0} means single
attempt without retries;
+ * {@code Long.MAX_VALUE} means infinite wait; negative values are
treated as infinite for compatibility.
*
* @return A future.
*/
- CompletableFuture<Void> changePeersAndLearnersAsync(PeersAndLearners
peersAndLearners, @Deprecated long term, long sequenceToken);
+ CompletableFuture<Void> changePeersAndLearnersAsync(
+ PeersAndLearners peersAndLearners, @Deprecated long term, long
sequenceToken, long timeoutMillis);
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]