tkalkirill commented on code in PR #2596:
URL: https://github.com/apache/ignite-3/pull/2596#discussion_r1332779826
##########
modules/placement-driver/src/main/java/org/apache/ignite/internal/placementdriver/leases/LeaseTracker.java:
##########
@@ -181,6 +168,8 @@ public CompletableFuture<Void> onUpdate(WatchEvent event) {
primaryReplicaWaiters
.computeIfAbsent(grpId, groupId -> new
PendingIndependentComparableValuesTracker<>(MIN_VALUE))
.update(lease.getExpirationTime(), lease);
+
+
fireEventFutures.add(fireEventReplicaBecomePrimary(event.revision(), lease));
Review Comment:
I think I fixed it and wrote a test for it.
And also added a test when adding lyse for a neighboring group.
--
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]