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

allow the crtDebugCallback to be called from within the log system

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Logging
    • None
    • Dev Tools 2020-03-23

    Description

      Currently if a error handling callback occurs during logging, and the callback tries to log, the process will deadlock. I know this can happen in the crtDebugCallback callback, and I worry that it's possible that it would occur in stack tracing or similar.

      We should investigate the use recursive locks in our logv2 locking front ends or back ends.

      Alternatively we could think about an how to create and utilize an alternative lockless logging API for use in such callbacks.

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: