SERVER-136679ClosedFixed
Idle $search cursors on views are not disposed at shutdown and stall mongod for the executor timeout
h3. Summary An idle {{$search}} cursor opened with {{batchSize: 0}} against a *view* (view definition contains {{$search}}) is not marked as holding the mongot task executor, so it is not disposed during shutdown. mongod then stalls for the full {{searchTaskExecutorShutdownTimeoutMS}} backstop (default 60s), or indefinitely if the timeout is disabled ({{0}}). h3. Background SERVER-129849 added {{ClientCursorParams::mayHoldMongotTaskExecutor}} and disposes idle cursors holding mongot executo