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

add queryHash to mongos slow query logs for batched update and delete requests

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution

      fixing this for non batched updates and deletes is going to be fixed by https://jira.mongodb.org/browse/SERVER-57405 part of the problem why that ticket didn't also fix batched update and deletes is because right now the queryHash is passed around in the current operations debug context and there is only room for one queryHash, but with multiple batched updates/deletes each item in the batch could have a different query shape and a different queryHash as a consequence. We need to decide if we are going to log a list of the query hashes or just the hash of the first item.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            mickey.winters@mongodb.com Mickey Winters
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: