Support nModified being optional in bulk write response

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Unknown
    • 5.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Java Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      From: https://github.com/mongodb/mongo-java-driver/pull/1823

      We saw issues with bulk writes failing to parse the response because nModified appears to be optional. I'm not sure why the mongodb cluster sometimes includes it on the response and other times omits it.

      This appears to be handled already by other drivers:

            Assignee:
            Ross Lawley
            Reporter:
            Ross Lawley
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: