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

v2.6 shell incompatible with server v2.4 inserts

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical - P2 Critical - P2
    • None
    • 2.6.0-rc0
    • Shell
    • None
    • ALL

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: