zstan commented on a change in pull request #9527:
URL: https://github.com/apache/ignite/pull/9527#discussion_r781029023
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ClusterProcessor.java
##########
@@ -283,10 +290,15 @@ public boolean diagnosticEnabled() {
try {
ClusterIdAndTag idAndTag = new
ClusterIdAndTag(cluster.id(), cluster.tag());
- if (log.isInfoEnabled())
- log.info("Writing cluster ID and tag to metastorage on
ready for write " + idAndTag);
+ if (idAndTag.id() != null) {
+ metastorage.writeAsync(CLUSTER_ID_TAG_KEY, idAndTag);
Review comment:
I just reuse previous approach here, if you prefer to use cas here, plz
let me know and i investigate it.
--
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]