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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.1, 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • v4.4
    • Execution Team 2020-06-29, Execution Team 2020-07-13
    • 0

      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.

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

              Created:
              Updated:
              Resolved: