|
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
|