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

mongo shell no longer records history of commands

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 3.4.0-rc3
    • Affects Version/s: 3.3.14
    • Component/s: Shell
    • None
    • Fully Compatible
    • ALL
    • Platforms 2016-11-21

      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

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

              Created:
              Updated:
              Resolved: