Consider using kIdempotent in Shard::runAggregation calls

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-05-11
    • 1
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      The Shard::runAggregation function has been changed to have a "onRetry" callback that allows to write retryable aggregations. During the execution of the SPM-4003 project, we preferred using RetryPolicy::kStrictlyNotIdempotent to make backport easier and safer.

      However, there's nothing preventing read only aggregation from being retried anymore and we should consider using RetryPolicy::kIdempotent in read only aggregations.

            Assignee:
            Wolfee Farkas
            Reporter:
            Guillaume Racicot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: