Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8256

On open, embedded shell `use db` command is hidden

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.44.5
    • Affects Version/s: 1.44.3
    • Component/s: Embedded Shell
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Iteration Kuiper Belt, Iteration Light Year, Iteration Milky Way
    • Not Needed
    • Developer Tools

      Problem Statement/Rationale

      When opening the embedded shell on a collection it silently runs the use db command, with the db.collection.find() populated. When the use  command completes it then shows that it was run. This is confusing for slower connections, and caused me to run the find against my test database since it hadn't completed the use command yet.

      Steps to Reproduce

      1. Use a remote cluster Compass connection, with higher latency (or simulate the latency)
      2. Open the embedded shell on a collection
      3. Observe that after a few seconds the use db command completes.

      Expected Results

      Show that the use db command is in progress / connecting and block user input until it completes.

            Assignee:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: