Query shape hash stability passthroughs fail on simple tests involving empty collections

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • QE 2025-06-09
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      The query shape hash stability passthroughs does not play nicely with empty collections. For example, the following one line test that queries an empty collection does not pass when run in the passthrough.

      db.foo.aggregate([{$unwind: "$bar"}]).toArray();
      
      python3 buildscripts/resmoke.py run --suites=aggregation_sharded_collections_query_shape_hash_stability unwind-foo.js
      

      We should fix this, as debugging these failures are fairly time consuming, and create friction for adding new tests.

            Assignee:
            Denis Grebennicov
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: