Julia Bakulina created IGNITE-21102:
---------------------------------------

             Summary: Incorrect cluster state output for ACTIVE_READ_ONLY in 
--baseline
                 Key: IGNITE-21102
                 URL: https://issues.apache.org/jira/browse/IGNITE-21102
             Project: Ignite
          Issue Type: Bug
            Reporter: Julia Bakulina
            Assignee: Julia Bakulina


Incorrect cluster state output for ACTIVE_READ_ONLY in --baseline.

org.apache.ignite.internal.commandline.BaselineCommand#baselinePrint0
{code:java}
        logger.info("Cluster state: " + (res.isActive() ? "active" : 
"inactive"));
{code}
org.apache.ignite.cluster.ClusterState#ACTIVE_READ_ONLY

 

An example of changing the cluster state:
{code:java}
Command [SET-STATE] started
Arguments: ... --set-state ACTIVE_READ_ONLY
--------------------------------------------------------------------------------
Cluster state changed to ACTIVE_READ_ONLY
Command [SET-STATE] finished with code: 0 {code}
Cluster state in control.sh --baseline
{code:java}
Command [BASELINE] started
Arguments: ... --baseline
--------------------------------------------------------------------------------
Cluster state: active
Current topology version: 1
Baseline auto adjustment disabled:...
Current topology version: 1 (...)
Baseline nodes:
    ...
--------------------------------------------------------------------------------
Number of baseline nodes: 1
Other nodes not found.
Command [BASELINE] finished with code: 0 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to