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.

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.0-rc1
    • Component/s: Shell
    • Labels:
    • Fully Compatible
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: