Log operation deadline in slow query logs

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-12-08
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Internally we have a notion of operation "deadlines." For example, when an operation is run with a maxTimeMS, we use this mechanism.

      On operations with multiple batches there's some complexity here since we "roll over" the unused time from each operation to the subsequent one.

      We should consider logging an operation's deadline, if it has one, in slow query logs. This should be easily comparable to the operation's end time (which is already logged), and will let us see how much longer the operation took compared to its budget.

            Assignee:
            Ivan Fefer
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: