sashapolo commented on code in PR #2861:
URL: https://github.com/apache/ignite-3/pull/2861#discussion_r1402390868
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/PartitionReplicaListener.java:
##########
@@ -420,7 +420,7 @@ private void markLocksReleased(
}
private CompletableFuture<Boolean>
onPrimaryExpired(PrimaryReplicaEventParameters evt, @Nullable Throwable
exception) {
- if (!localNode.name().equals(evt.leaseholder())) {
+ if (!localNode.name().equals(evt.leaseholder()) ||
!replicationGroupId.equals(evt.groupId())) {
Review Comment:
Sorry, I don't understand. You are clearly fixing some problem here, can we
add a minimal test that reproduces this problem?
--
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]