SERVER-114032ClosedFixed

Avoid obscuring network errors in OplogFetcher

In  [{{OplogFetcher::_checkTooStaleToSyncFromSource}}|https://github.com/10gen/mongo/blob/d14e3cc6183dddc97aac5393fcc085f25a1d4d7f/src/mongo/db/repl/oplog_fetcher.cpp#L1034-L1044], all raised execptions in this try/catch block are treated as treated as "too stale to sync from source" errors, even network errors, leading to the stall seen in HELP-83793. Instead, we should likely both log the error message itself and return {{{}ErrorCodes::OplogStartMissing{}}}, as we do at the end of the function

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
newengrepl-shortlist