Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2966

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

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

      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 Unassigned
            Reporter:
            fahimabrar@appscode.com Mohammad Fahim Abrar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: