MongoDump fails to backup configServer of sharded cluster in version `5.0.x`

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Unresolved
    • Priority: Major - P3
    • 100.8.1
    • Affects Version/s: 100.5.0
    • Component/s: mongodump
    • None
    • 1,402

      Problem Statement/Rationale

      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 Results

      Expected the backup to be successful.

      Actual Results

      Seeing the mentioned error.

      Additional Notes

      N/A

              Assignee:
              Unassigned
              Reporter:
              Mohammad Fahim Abrar
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: