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

Add missing redact() calls to "Plan executor error" warning logs

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • ALL

      Certain log lines in query code are missing calls to redact the input command BSON. See, for example, the "plan executor error" warning log for find commands. We have similar logs for other commands too.

      We should be redacting the command BSON here. Otherwise, when certain queries fail with an executor error, the entire command text (possibly including PII) can end up in the logs even when redaction is enabled. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            hana.pearlman@mongodb.com Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: