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

XMLWordPrintableJSON

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

      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
              Reporter:
              Andreas Nilsson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: