Compacting Mongo replica

We are running a mongodb replica setup on Fly. We recently reclaimed a bunch of storage by deleting outdated records, but we were surprised to learn that the volume usage remained flat. We later discovered that you have to run compact in order to reclaim that space.

Our plan was to compact the replica, promote it to primary, and then compact the primary; however, we tried running compact on the Mongo replica, and it does not seem to be working. Has anyone navigated this process before who can help us?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.