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

Integrate cross-shard statement tracking by mongos with statement ids sent by client

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Sharding
    • Labels:

      Description

      During a cross-shard transaction, mongos tracks the latest statement id it has received from the client and compares it to the statement id of the first command it received to determine if snapshot errors are retryable. Currently, mongos does not actually parse the statement ids from the client and instead assumes each new command increments the id by one. Once operations inside a transaction are retryable and statement ids from the client are more meaningful, mongos should be changed to parse and use the statement id from the client instead.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: