SERVER-138286ClosedDuplicate

CheckMetadataConsistency on secondaries: release CSR when checking the shard catalog

Secondaries don't rely on the CSR to keep the catalog stable, and since they read with snapshot read concern, holding the CSR can lead to deadlocks.

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

No labels assigned.