Using bulk write API, in some cases two sockets will be used instead of one

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.14.1
    • Affects Version/s: 2.14.0
    • Component/s: Write Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using DBCollection.initializeOrderedBulkOperation or DBCollection.initializeUnorderedBulkOperation and either

      • server version is <= 2.4
      • WriteConcern is unacknowledged

      the implementation checks out two sockets from the pool, one to check the server version and the second to send the legacy opcode message (OP_INSERT/UPDATE/DELETE).

      The same socket should be used for both.

              Assignee:
              Unassigned
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: