SERVER-138489ClosedFixed

Robustify operationResponseMaxMs handling

This change makes the following changes to how the optional {{operationResponseMaxMs}} deadline is handled in change stream oplog scans: * Preserve the response deadline across resources releases, i.e. when {{PlanExecutorImpl}} calls {{releaseAllAcquiredResources()}}. Otherwise the deadline may restart from its original value after resources are re-acquired. * Also enforce the deadline while waiting for new oplog entries inside {{insert_listener::waitForInserts()}}. This makes the deadline apply

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-rc10259.0.9
Components
Server components related to this issue
Change streams
Labels
Tags and classification

No labels assigned.