Aleksandr created IGNITE-17752:
----------------------------------

             Summary: Identify if the cli was not started before
                 Key: IGNITE-17752
                 URL: https://issues.apache.org/jira/browse/IGNITE-17752
             Project: Ignite
          Issue Type: Task
          Components: cli
            Reporter: Aleksandr


On the first start, the user sees "Do you want to connect to the last connected 
node http://localhost:10300? [Y/n]" that is confusing, there is no "last 
connected node". 

I suppose there should be some "autodiscovery" of the already started node 
locally and if there is no node, we should not ask users about connection at 
all. So:
1. if node started and this is the first-time user runs cli: "Ignite 3 node 
found, would you like to connect?"
2. if the node is not stared do not ask the user
3. if the node started and this is not the first time: "Would you like to 
connect?"





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

Reply via email to