tkalkirill commented on code in PR #2701:
URL: https://github.com/apache/ignite-3/pull/2701#discussion_r1363450885
##########
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:
Discussed in person: in `IndexBuilder` the `PrimaryReplicaMissException`
will be handled only by logging at the DEBUG level, a new attempt to start
building the index will be handled by
`PrimaryReplicaEvent#PRIMARY_REPLICA_ELECTED`.
--
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]