ascherbakoff commented on code in PR #4700:
URL: https://github.com/apache/ignite-3/pull/4700#discussion_r1849970308
##########
modules/replicator/src/main/java/org/apache/ignite/internal/replicator/ReplicaResult.java:
##########
@@ -28,17 +27,17 @@ public class ReplicaResult {
private final Object res;
/** The replication future. */
- private final CompletableFuture<?> repFut;
+ private final ApplyResult applyResult;
/**
* Construct a replica result.
*
* @param res The result.
- * @param repFut The replication future.
+ * @param applyResult The replication result.
*/
- public ReplicaResult(@Nullable Object res, @Nullable CompletableFuture<?>
repFut) {
+ public ReplicaResult(@Nullable Object res, @Nullable ApplyResult
applyResult) {
this.res = res;
- this.repFut = repFut;
+ this.applyResult = applyResult == null ? new ApplyResult(null, null) :
applyResult;
Review Comment:
🆗
--
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]