korlov42 commented on code in PR #1191:
URL: https://github.com/apache/ignite-3/pull/1191#discussion_r1000411025


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -1946,4 +1955,28 @@ BiFunction<List<Peer>, Long, CompletableFuture<Void>> 
movePartition(Supplier<Raf
     private <T extends ConfigurationProperty<?>> T directProxy(T property) {
         return getMetadataLocallyOnly ? property : 
ConfigurationUtil.directProxy(property);
     }
+
+    private Supplier<List<IndexStorage>> activeIndexes(UUID tableId, int 
partId, MvTableStorage tableStorage) {
+        return () -> {
+            NamedListView<TableIndexView> listView = 
tableStorage.tablesConfiguration().indexes().value();
+
+            if (listView.size() == 0) {
+                return List.of();
+            }
+
+            List<IndexStorage> indexes = new ArrayList<>(listView.size());
+
+            for (int i = 0; i < listView.size(); i++) {
+                if (!listView.get(i).tableId().equals(tableId)) {

Review Comment:
   fixed



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