ibessonov commented on code in PR #2114:
URL: https://github.com/apache/ignite-3/pull/2114#discussion_r1209821860


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/PartitionReplicaListener.java:
##########
@@ -2467,9 +2467,9 @@ public CompletableFuture<?> 
onUpdate(ConfigurationNotificationEvent<TableIndexVi
 
         boolean casResult = indexesConfigurationListener.compareAndSet(null, 
listener);
 
-        assert casResult : replicationGroupId;
-
-        
mvTableStorage.tablesConfiguration().indexes().listenElements(listener);
+        if (casResult) {

Review Comment:
   ```suggestion
           // TODO IGNITE-19053 Fix this warkaround.
           if (casResult) {
   ```



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