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

Improve log message for RSM "expedited mode"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Cluster Scalability

    Description

      Log message says "RSM monitoring host in expedited mode until we detect a primary". This only shows up once when RSM turns expedited mode on until it detects a primary and turns off expedited mode. In the case when there is always a primary and expedited mode is being repeatedly turned on, the log message will show up multiple times in a row and can be easily misinterpreted as RSM thinks that there is no primary. The "expedited mode" also sounded like some kind of feature and has confused a lot of engineers.

      I propose that we:
      1. Remove the mention of "until we detect a primary".
      2. Reword "expedited mode" into something like "RSM temporarily going to refresh sooner".

      Log in question:
      https://github.com/mongodb/mongo/blob/aaa87a2ffa3485a5cdbd12d7bb00abe727cab119/src/mongo/client/server_discovery_monitor.cpp#L115

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: