Script to:
- remove old data from all database collections (performed on primary)
- rebuild indexes (performed on secondaries)
To make it work, user in database should be created with dbAdmin role in given database.
To check options, run python mongodb_retention.py -h