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

Fix wrong warning messages in ReplSetGetStatus command

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0, 7.0.6, 6.0.14
    • 6.0.0, 5.2.0-rc0, 7.0.0, 7.2.0-rc3
    • None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • v7.2, v7.0, v6.0
    • Repl 2023-12-25

    Description

      In SERVER-61007 we added a 4 warning log messages that wrongly uses formatting string with '{error}' placeholder (example). The LOGV2 macros used only support simple log strings and in fact the '{error}' placeholder will not be substitute and will appear directly in the final logs.

      The goal of this ticket is to make those log messages use plain string without placeholders.

      Attachments

        Activity

          People

            huayu.ouyang@mongodb.com Huayu Ouyang
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: