SERVER-127898ClosedFixed

Retry CSRS demotion related InvalidOptions failures in replica_sets_transition_to_csrs suite

In {{replica_sets_transition_to_csrs}} suite during the demotion from CSRS to replicaset phase write operations might fail with this is a known and accepted issue (by product) as a side effect of SPM-4300 though this introduces flakiness in the evergreen so we should set up a retry hook in the suite if the given error code and error message appears (preferably during write operations only)

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-rc10229.0.48.3.16
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
bkp