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

Do not retry on error in the ARS or async rpc clients if request contains startOrContinueTransaction

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Cluster Scalability 2024-3-18, Cluster Scalability 2024-4-1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If we should skip retrying on error, similar to how we skip if the request contained "startTransaction" both in the ARS and when constructing the retryPolicy to pass to the async_rpc client (i.e. we should pass ShardRetryPolicyWithIsStartingTransaction when constructing an async_rpc client (https://github.com/mongodb/mongo/blob/aa46326b876c981f2d16daa5a13a9c546545b180/src/mongo/db/s/sharding_ddl_util.h#L126-L136), and should pass "true" for "isStartingTransaction", though perhaps we should change the name).

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None