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

Retryable Writes

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Incomplete
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: Command Operations
    • Labels:
      None
    • Environment:
      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

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

              Dates

              Created:
              Updated:
              Resolved: