Consider using kIdempotent in Shard::runAggregation calls

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 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:
            Unassigned
            Reporter:
            Guillaume Racicot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: