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

Mikhail Pochatkin reassigned IGNITE-19108:
------------------------------------------

    Assignee: Dmitry Baranov

> Check connection during REPL session in CLI
> -------------------------------------------
>
>                 Key: IGNITE-19108
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19108
>             Project: Ignite
>          Issue Type: Task
>          Components: cli
>            Reporter: Aleksandr
>            Assignee: Dmitry Baranov
>            Priority: Major
>              Labels: ignite-3
>         Attachments: Screenshot 2023-03-23 at 16.27.48.png
>
>
> Currently, a "strange" case has been observed where a user has initialized a 
> cluster with auth enabled while being connected. After successful 
> initialization, the next command such as cluster config show would fail, 
> which is expected. However, the session indication (green prompt) was not 
> changed, and it caused confusion for users.
> To prevent this confusion and improve the user experience, it is suggested to 
> introduce a connection check mechanism that will check the connection status 
> on a set schedule and indicate whether it is stable or failed. This will help 
> users easily identify when the connection is not stable and take necessary 
> actions.
> With the proposed mechanism in place, the above-described case would look 
> like this:
> - Initiate cluster with auth enabled
> - Confirm the operation is successful
> - Observe the connection is unstable (the prompt turns yellow)
> - Optionally, set cli config and see the session turn green
> - After some time, if the connection remains unstable, the prompt turns red, 
> indicating an explicit reconnect is required.



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

Reply via email to