Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-76050

Enhance session handling in each coordinator

    • Sharding EMEA
    • Fully Compatible
    • v7.0, v6.3, v6.0, v5.0
    • Sharding EMEA 2023-05-01, Sharding EMEA 2023-05-15, Sharding EMEA 2023-05-29
    • 158
    • 7.5

      In order to ensure the idempotence of a command, the session must be updated for each invocation. In fact, the session ID and the transaction number ensure that no stale requests arrive. Updating the sessione and then invoke che command with the current (updated) session is error prone as there is the risk of reuse an already used session ID.

      With SERVER-75792, the getNewSession() function has been implemented in order to be used as an argument of each command invocation. The goal of this ticket is use this approach for all the DDL coordinators.

            Assignee:
            silvia.surroca@mongodb.com Silvia Surroca
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: