opWriteConcernCounters can illegally embed a NUL bytes into ServerStatus

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0 Required, 8.2.0-rc0, 8.1.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • ALL
    • v8.1, v8.0, v7.0
    • Repl 2025-05-12, Repl 2025-05-26, Repl 2025-06-09, Repl 2025-06-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As seen in HELP-73786 it is possible for the opWriteConcernCounters to embed a NUL byte value into the ServerStatus response (specifically into a string field which can cause a node to go down. We need to find the root cause of this issue and prevent it from happening.

      max.hirschhorn@mongodb.com identified that wTagCounts is a likely source of this error since it could relate to custom write concern tags provided by users

      This issue has been seen back to 7.0

              Assignee:
              Brad Cater
              Reporter:
              Sean Zimmerman
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: