tkalkirill commented on code in PR #2701:
URL: https://github.com/apache/ignite-3/pull/2701#discussion_r1363332328
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/PartitionReplicaListener.java:
##########
@@ -2653,6 +2653,8 @@ private CompletableFuture<Boolean>
ensureReplicaIsPrimary(ReplicaRequest request
expectedTerm = ((ReadOnlyDirectReplicaRequest)
request).enlistmentConsistencyToken();
assert expectedTerm != null;
+ } else if (request instanceof BuildIndexReplicaRequest) {
+ expectedTerm = ((BuildIndexReplicaRequest)
request).enlistmentConsistencyToken();
Review Comment:
No way, the index building task will receive an error, log it and stop
working.
--
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]