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

The execution of $shardedDataDistribution under a causally consistent session should be rejected with a more explicit error message

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 1

      Today, an attempt to run an aggregation pipeline with a $shardedDataDistribution stage under a causally consistent pipeline raises an unnamed server error during its execution, together with a hard-to-interpret message.

      Since the stage is only meant to collect metrics across shards without snapshot read-like guarantee, such a request may be rejected as soon as it gets received - returning more appropriate messaging to the user.

            Assignee:
            Unassigned Unassigned
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: