While trying to take backup of a configServer of a sharded cluster with –oplog, I'm seeing this error:
Failed: error creating intents to dump: error creating intents for database config: detected resharding in progress. Cannot dump with --oplog while resharding
But actually, there is no resharding in progress.
Steps to Reproduce
Run mongodump on a configServer replicaSet with --oplog on a newly created sharded cluster.
mongodump --archive --oplog -u <username> -p <pass> --authenticationDatabase admin --host <configServer hosts>
Expected the backup to be successful.
Seeing the mentioned error.