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/08/05 10:26:00 UTC

[jira] [Updated] (IGNITE-17110) Auto-connect on the REPL start

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

Vadim Pakhnushev updated IGNITE-17110:
--------------------------------------
    Component/s: cli

> Auto-connect on the REPL start
> ------------------------------
>
>                 Key: IGNITE-17110
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17110
>             Project: Ignite
>          Issue Type: Task
>          Components: cli
>            Reporter: Aleksandr
>            Assignee: Vadim Pakhnushev
>            Priority: Major
>              Labels: ignite-3, ignite-3-cli-tool
>
> h2. Description
> When a user starts REPL by the {{ignite}} command they get {{{}[disconnected]{}}}> prompt by default. Even if the user already connected to the cluster node in the previous session. 
> h2. To-Do
> Implement the auto-connect logic for the case described below. The URL for the connect command can be taken from the defaults. If the user previously connected to the URL that differs from the default one then suggest using the last URL as a default.
> {code:bash}
> $ ignite
> > connect to http://host.from.previous.session:10300 ? # this is asked only if the default url is not possible to connect
> > yes
> [http://host.from.previous.session:10300]> would you like to use http://host.from.previous.session:10300 as the default URL?
> [http://host.from.previous.session:10300]> no
> [http://host.from.previous.session:10300]> {code}
>  



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