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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Cluster Scalability 2024-3-18, Cluster Scalability 2024-4-1
    • None
    • 3
    • 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
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: