SERVER-139513Backlog

Always propagate queryStatus in QueryExecutionContext::checkForInterrupt

The API contract for check_for_contract says this "Populates queryStatus with MONGO_EXTENSION_STATUS_OK unless this operation is in a killed state.", but we currently only populate query status if an interrupt was detected. Update behavior and stale comments to reflect that queryStatus is always populated.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
dino-extensions-api