Remove default value for nModified

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      The driver currently assigns a default value of 0 to nModified due to the server bug SERVER-113026, where the server failed to return nModified when no documents were modified. This workaround should be removed once the minimum supported server version includes the fix.

      Current behavior:
      The driver sets nModified = 0 by default to handle missing field responses from affected server versions.

      Intended behavior:
      When all supported server versions reliably return nModified, the driver should no longer provide a default value.

      Acceptance criteria:

      • Confirm that all supported server versions contain the SERVER-113026 fix.
      • Remove the default nModified being 0 logic and comment marked with TODO-JAVA-6005.

            Assignee:
            Unassigned
            Reporter:
            Slav Babanin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: