nizhikov commented on code in PR #10263:
URL: https://github.com/apache/ignite/pull/10263#discussion_r989864132


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridLocalConfigManager.java:
##########
@@ -355,9 +360,18 @@ public CacheJoinNodeDiscoveryData 
restoreCacheConfigurations() throws IgniteChec
      * @param lsnr Instance of listener to add.
      */
     public void addConfigurationChangeListener(BiConsumer<String, File> lsnr) {
-        assert chgLock.isWriteLockedByCurrentThread();
+        if (chgLock.isWriteLockedByCurrentThread())

Review Comment:
   Condition required just to keep existing logic unchanged.



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