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`

    XMLWordPrintableJSON

Details

    • Investigation
    • Status: Accepted
    • Major - P3
    • Resolution: Unresolved
    • 100.5.0
    • 100.7.1
    • mongodump
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            fahimabrar@appscode.com Mohammad Fahim Abrar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: