Sergey Uttsel created IGNITE-18516: -------------------------------------- Summary: Access to several configuration tree in one configuration change clojure is not thread-safe Key: IGNITE-18516 URL: https://issues.apache.org/jira/browse/IGNITE-18516 Project: Ignite Issue Type: Improvement Reporter: Sergey Uttsel
h3. Motivation In some cases in a change clojure on one configuration tree we need a thread-safe access to another configuration tree. For example: {code:java} zonesConfiguration.change(zonesChange -> zonesChange.changeDistributionZones(zonesListChange -> { tables = tablesConfiguration.tables(); boundTables = //find tables which are bound to the distribution zone; if (boundTables.isEmpty()) zonesListChange.delete(zoneName); })) {code} Now there is no guarantee that list of boundTables is not changed before drop zone. h3. Definition of Done It is possible to get thread-safe access to several configuration tree in one configuration change clojure. -- This message was sent by Atlassian Jira (v8.20.10#820010)