Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1513

retryWrites does not seem to work if any update multi=true queries are executed

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.0
    • Affects Version/s: 3.0.10
    • Component/s: Core, Native
    • Environment:
      NodeJS 8.11.2

      retryWrites does not seem to work if any update command with multi=true are executed, but the only place to set retryWrites is on the connection string, and there seems to be no way to override or suppress this when updates to multiple documents are required.

      I get this error:

      MongoError: Cannot use (or request) retryable writes with multi=true

      The retyWrites option should just be ignored where it is not supported, or there should be a way to suppress or override the setting with an options property

            Assignee:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Reporter:
            support@mybeat.net Bradley Greathead
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: