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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.0.10
    • 3.1.0
    • Core, Native
    • NodeJS 8.11.2

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: