SERVER-133742ClosedFixed

Pause auto-compaction on all RS nodes when replica set write block is enabled and allowDeletion is set to false

{{autoCompact}} is node-local and [allowed on secondaries|https://github.com/mongodb/mongo/blob/6c5904e6ab186485e0fc9ec8ee1993cb5cc18342/src/mongo/db/commands/auto_compact.cpp#L139-L141]. Replica set write blocking only [pauses|https://github.com/mongodb/mongo/blob/6c5904e6ab186485e0fc9ec8ee1993cb5cc18342/src/mongo/db/topology/user_write_block/writes_recoverable_critical_section_service.cpp#L583-L586] it in the {{blockReplicaSetWrites}} command path, which is [primary-only|https://github.com/mon

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

No components specified.

Labels
Tags and classification

No labels assigned.