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

LOGV2 messages may throw BSONObjectTooLarge exceptions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • Logging
    • None
    • Server Security
    • Fully Compatible
    • ALL
    • Security 2023-06-12

    Description

      It is possible for the log attributes when serialized using the custom serialize(), toBSON(), etc. members to trigger a BSONObjectTooLarge exception. Ideally the log line truncation performed by the logging subsystem would be performed at the same time to retain a portion of the log attributes rather than throwing an exception.

      Worth considering would be whether the logging subsystem should swallow other exceptions thrown by the custom serialization functions.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: