Improve Shard::runAggregation retry api

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 now supports retrying the aggregation process on error.

      There is an ergonomic issue with this API: we need to pass a callback to reset any state accumulated during aggregation, even in the case of kNoRetry. This is confusing since we shouldn't need to pass such callback when we are not performing any retry.

            Assignee:
            Unassigned
            Reporter:
            Guillaume Racicot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: