Move QueryShapeHash computation outside of the PQS lookup path

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • QE 2025-08-18, QE 2025-09-01
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Due to previous design decisions QueryShapeHash is only computed for eligible PQS commands on the PQS lookup path.

      This means that even if QueryShape is computed for other commands, e.g. update, delete, findAndModify the QueryShapeHash will not be computed and reported in explain.

      The goal for this ticket is to move QueryShapeHash computation outside of PQS lookup path.

      Note: based on current design we agreed to not compute QueryShapeHash on the shards in sharded cluster to avoid reporting it to the users and cause confusion

              Assignee:
              Denis Grebennicov
              Reporter:
              Denis Grebennicov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: