Can you run compaction on all members of replicaset at the same time?
03:11 09 Apr 2026

So, I noticed that compaction takes time to run, I was wondering that if compaction needs to be run individually on the nodes and is not replicated is it possible to run it simultaneously on alll members if I make sure that no writes are happening?

Would it cause any issues?

mongodb mongodb-replica-set