SERVER-135154ClosedFixed
Enforce the PinnedConnectionTaskExecutor lifetime contract during mongot shutdown
h3. Context Make mongod shutdown honor the PinnedConnectionTaskExecutor (PCTE) lifetime contract, so a $search cursor created during shutdown cannot outlive its underlying mongot task executor. This closes the invariant failure tracked by AF-21589 (same class as AF-4442 / SERVER-108562). h3. Scope # Gate new mongot cursor creation: once search-executor shutdown begins, cursor acquisition fails fast with ShutdownInProgress (convention already documented in search_task_executors.h) so no new PC