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

The TTL monitor should not log at "E" level for QueryPlanKilled

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.1, 4.7.0
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Execution Team 2020-06-29, Execution Team 2020-07-13
    • Linked BF Score:
      0

      Description

      It is expected that a collection drop can kill a query plan while the TTL monitor is deleting old document, and this is not an error. I see three ways we could address this:

      • Log at level W (warning)
      • Log at level I (informational)
      • Just catch/ignore the exception for QueryPlanKilled and not log anything.

      I lean toward the last option.

        Attachments

          Activity

            People

            Assignee:
            samy.lanka Samyukta Lanka
            Reporter:
            geert.bosch Geert Bosch
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: