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.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 2.6.0-rc1
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: