Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2816

Retryable Writes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • 3.6.0
    • Command Operations
    • None
    • Test

    Description

      I have a question on RetryableWrites. If a bulkWrite has a mix and match of insertOne,UpdateOne and UpdateMany and the MongoClient is configured to have RetryableWrites as true, will the InsertOne and UpdateOne operations retried and UpdateMany not retried in case of a Primary Switch Over.

      Also is there a way to selectively turn on and off the retry write option as a parameter apart from setting it in the MongoClient.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sbhatkashi@apple.com Sandeep Kashi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: