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

wc validation in shell bulk API is not enforced for 2.2/2.4 servers.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • 2.6.0-rc1
    • None
    • Shell
    • Fully Compatible
    • ALL

    Description

      The bulk API execute function will throw an error if using an invalid write concern against a 2.6 server.

      Examples:

      bulk.execute({w:{a:1}})
      bulk.execute({w:2}) // for a standalone mongod
      

      This is not a server issue but an inconsistency in the shell bulk API.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andreas.nilsson Andreas Nilsson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: