SERVER-131540ClosedFixed

Add write conflict retry to listIndexes and listCollections

Both listIndexes and listCollections do shard role acquisitions (autoGet in listCollections) which may result in calls to wiredTiger. In suites which enable WiredTiger failpoints that cause reads to throw write conflict exceptions, this can cause these operations to bubble up WriteConlicts to the user. In practice, this should not actually be a production issue because read only transactions do not throw WriteConflictExceptions. However, the general guidance is to act as though any access to

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
bkp