You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vadim Pakhnushev (Jira)" <ji...@apache.org> on 2022/10/04 10:58:00 UTC

[jira] [Commented] (IGNITE-17752) Identify if the cli was not started before

    [ https://issues.apache.org/jira/browse/IGNITE-17752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612563#comment-17612563 ] 

Vadim Pakhnushev commented on IGNITE-17752:
-------------------------------------------

On the first start of the CLI the message is actually "You are not connected to node. Do you want to connect to the default node http://localhost:10300? [Y/n]"

> 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
>            Priority: Major
>              Labels: ignite-3
>
> 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)