tkalkirill commented on code in PR #2500:
URL: https://github.com/apache/ignite-3/pull/2500#discussion_r1319417919


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/PartitionReplicaListener.java:
##########
@@ -240,8 +237,11 @@ public class PartitionReplicaListener implements 
ReplicaListener {
 
     private final CatalogService catalogService;
 
-    /** Listener for configuration indexes, {@code null} if the replica is not 
the leader. */
-    private final 
AtomicReference<ConfigurationNamedListListener<TableIndexView>> 
indexesConfigurationListener = new AtomicReference<>();
+    /** Listener for creating an index in catalog, {@code null} if the replica 
is not the leader. */
+    private final AtomicReference<EventListener<CreateIndexEventParameters>> 
createIndexListener = new AtomicReference<>();

Review Comment:
   `AtomicReferenceFieldUpdater` is an optimization, and at this stage of 
development we do not save on memory.
   If we do optimization, then it is worth doing it under a separate ticket.



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to