Vladsz83 commented on code in PR #11467:
URL: https://github.com/apache/ignite/pull/11467#discussion_r1717182826


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/management/SchemaManager.java:
##########
@@ -451,6 +454,9 @@ public void onCacheDestroyed(String cacheName, boolean 
rmvIdx, boolean clearIdx)
             if (schema.decrementUsageCount()) {
                 schemas.remove(schemaName);
 
+                if (destroy)

Review Comment:
   We just removed local schema. Why do we keep cluster schema if cache was 
only stopped? Also `if (!U.isLocalNodeCoordinator(ctx.discovery()))` might be 
moved outside.



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