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

Fix wrong warning messages in ReplSetGetStatus command

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

      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.

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

              Created:
              Updated:
              Resolved: