Move QueryShapeHash computation outside of the PQS lookup path

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-08-18, QE 2025-09-01
    • 200
    • 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:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: