[SERVER-61762] Improve log message for RSM "expedited mode" Created: 29/Nov/21  Updated: 12/Dec/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Randolph Tan Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Cluster Scalability
Participants:
Case:

 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


Generated at Thu Feb 08 05:53:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.