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

allow the crtDebugCallback to be called from within the log system

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Logging
    • Labels:
      None
    • Dev Tools 2020-03-23

      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.

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

              Created:
              Updated:
              Resolved: