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


##########
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:
   Sure, I just thought that this optimization looks useful here and does not 
take a lot of code to implement.



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