SERVER-132655ClosedFixed

Retry $out which fails due to concurrent FCV upgrade

The check for DBDirectClient tassert [here|https://github.com/10gen/mongo/blob/c0d96f900c78c285df6bd08b07ee8ae484e41a3a/src/mongo/db/service_entry_point_shard_role.cpp#L2099-L2101] implicitly relied on the fact that [errorMayBeRetried|https://github.com/10gen/mongo/blob/6b0667f8b0d765ee1705ddf8249d15a825085833/src/mongo/db/service_entry_point_shard_role.cpp#L2050] must be false if we are in a dbDirectClient. This is because both [handleStaleError|https://github.com/10gen/mongo/blob/6b0667f8b0d76

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

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

No components specified.

Labels
Tags and classification
auth-shards-stabilizationbkp