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

v2.6 shell incompatible with server v2.4 inserts

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 2.6.0-rc0
    • Component/s: Shell
    • None
    • ALL

      Running v2.6rc0 of the shell against v2.6rc0 of the server version works as expected:

      > db.t.insert({a:1})
      WriteResult({ "nInserted" : 1 })
      

      Running the same shell against v2.4.9 of the server results in an error:

      > db.t.insert({a:1})
      2014-02-27T09:02:17.613-0800 Error: batch failed, cannot aggregate results: no such cmd: insert at src/mongo/shell/bulk_api.js:696
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            benjamin.becker Ben Becker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: