SERVER-134714ClosedFixed

Fix potential std::terminate in MovePrimaryCoordinator

(copilot) [_runImpl|https://github.com/10gen/mongo/blob/4c929333f113e6d05cc00a3620846fecea4d0344/src/mongo/db/global_catalog/ddl/move_primary_coordinator.cpp#L158] is noexcept, but this newly hoisted operation-context setup now runs before an ExecutorFuture can capture failures. makeOperationContext() applies forwardable metadata (including token parsing) and is not noexcept; if it throws, the process calls std::terminate instead of returning an error to the coordinator retry machinery. Keep th

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.0.29.1.0-rc10249.0.48.3.16
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
bkp