multiple lines command hangs

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.5.1
    • Component/s: CLI Module
    • Environment:
      macOS 15.5
    • 5
    • Iteration E (Jun 16 - 30)
    • None
    • Developer Tools

      Problem Statement/Rationale

      mongosh hands in case of multiple line commands 

      Steps to Reproduce

      write a multiple line command like:

      db.createCollection(
         "stocks",
         {
            timeseries: {
               timeField: "date",
               metaField: "ticker",
               granularity: "seconds"
            }
         }) 

      the shell will hang

       

            Assignee:
            Unassigned
            Reporter:
            Renato Riccio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: