Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17110

Auto-connect on the REPL start

    XMLWordPrintableJSON

Details

    Description

      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. 

      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.

      $ 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]> 

       

      Attachments

        Issue Links

          Activity

            People

              vpakhnushev Vadim Pakhnushev
              aleksandr.pakhomov Aleksandr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h