AMashenkov commented on code in PR #3358:
URL: https://github.com/apache/ignite-3/pull/3358#discussion_r1521426948


##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/ClientPrimaryReplicaTracker.java:
##########
@@ -81,6 +86,10 @@ public class ClientPrimaryReplicaTracker implements 
EventListener<EventParameter
 
     private final SchemaSyncService schemaSyncService;
 
+    private final LowWatermark lowWatermark;
+
+    private final DeferredEventsQueue<DestroyTableEvent> deferredEventsQueue = 
new DeferredEventsQueue<>(DestroyTableEvent::catalogVersion);

Review Comment:
   I rewrote a queue structure.
   Unfortunately, we can't use a timestamp here, because `activationTime` is 
internal Catalog thing,
   but we can track catalogVersion, and process deferred destruction events, 
when catalogVersions dive under the LWM.



-- 
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]

Reply via email to