You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgeny Stanilovsky (Jira)" <ji...@apache.org> on 2021/10/12 19:48:00 UTC

[jira] [Updated] (IGNITE-15734) Erroneous string formatting while changing cluster tag.

     [ https://issues.apache.org/jira/browse/IGNITE-15734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Evgeny Stanilovsky updated IGNITE-15734:
----------------------------------------
    Description: 
{noformat}
org.apache.ignite.internal.processors.cluster.ClusterProcessor#onReadyForRead
...
                    log.info(
                        "Cluster tag will be set to new value: " +
                            newVal != null ? newVal.tag() : "null" +
                            ", previous value was: " +
                            oldVal != null ? oldVal.tag() : "null");
{noformat}
without braces 

{noformat}
"Cluster tag will be set to new value: " + newVal
{noformat}
always not null;



  was:

{noformat}
                    log.info(
                        "Cluster tag will be set to new value: " +
                            newVal != null ? newVal.tag() : "null" +
                            ", previous value was: " +
                            oldVal != null ? oldVal.tag() : "null");
{noformat}
without braces 

{noformat}
"Cluster tag will be set to new value: " + newVal
{noformat}
always not null;




> Erroneous string formatting while changing cluster tag.
> -------------------------------------------------------
>
>                 Key: IGNITE-15734
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15734
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.11
>            Reporter: Evgeny Stanilovsky
>            Assignee: Evgeny Stanilovsky
>            Priority: Major
>
> {noformat}
> org.apache.ignite.internal.processors.cluster.ClusterProcessor#onReadyForRead
> ...
>                     log.info(
>                         "Cluster tag will be set to new value: " +
>                             newVal != null ? newVal.tag() : "null" +
>                             ", previous value was: " +
>                             oldVal != null ? oldVal.tag() : "null");
> {noformat}
> without braces 
> {noformat}
> "Cluster tag will be set to new value: " + newVal
> {noformat}
> always not null;



--
This message was sent by Atlassian Jira
(v8.3.4#803005)