Add a new field (mongos queryShapeHash) to the mongod slow logs

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The InTel team is working on associating slow logs from the mongod with query shapes collected on the mongos using the query shape hash. However, the query shape hash may be different on the mongos and mongod for a single request as the query may be modified when the mongos sends the query to the mongod.

      Let's propagate the 'original' mongos query shape hash to the mongod, including for find, distinct, and aggregate requests, and ensure that the mongos query shape hash is added as a field if there are slow logs generated from the query on the mongod. Field name could be "originalQueryShapeHash", but open to discussion.

              Assignee:
              Unassigned
              Reporter:
              Laurel Xiang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: