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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • Query Execution

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            mickey.winters@mongodb.com Mickey Winters
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: