v2.6 shell incompatible with server v2.4 inserts

XMLWordPrintableJSON

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

      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
              Reporter:
              Ben Becker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: