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

mongo shell no longer records history of commands

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker - P1
    • Resolution: Fixed
    • Affects Version/s: 3.3.14
    • Fix Version/s: 3.4.0-rc3
    • Component/s: Shell
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: