Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26489

mongo shell no longer records history of commands

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker - P1 Blocker - P1
    • 3.4.0-rc3
    • 3.3.14
    • Shell
    • None
    • Fully Compatible
    • ALL
    • Platforms 2016-11-21

    Description

      The mongo shell command history is no longer persisted.

      No history in 3.3.13+

      ➜  mongo git:(master) ✗ 3.3.13/mongo --nodb
      MongoDB shell version v3.3.13
      > print()
       
      > ^C
      bye
      ➜  mongo git:(master) ✗ more ~/.dbshell 
      

      Correct behavior in 3.3.12

      ➜  mongo git:(master) ✗ 3.3.12/mongo --nodb
      MongoDB shell version v3.3.12
      > print()
       
      > ^C
      bye
      ➜  mongo git:(master) ✗ more ~/.dbshell                 
      print()
      

      Possibly related to SERVER-25335

      Attachments

        Activity

          People

            kevin.pulo@mongodb.com Kevin Pulo
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: