Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3333

Session is not pinned when only a single mongos is present

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • 1.15.0
    • None
    • None

    Description

      When running a sharded transaction in a sharded cluster with a single mongos node, the session is not pinned to that server. Since topology scans may reveal additional mongos nodes, this can cause issues later. The session needs to be pinned even when running with a single mongos node.

      I've also added a SPEC ticket to clarify this in the transaction spec: SPEC-1428.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: