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

mongodump 4.2 error when run against MongoDB 3.4

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Needed
    • User confusion re: MongoDB compatibility policy for pre-100 tools releases. Not sure what the best way of clarifying this in the docs would be.

      Issue:

      From the linked support request, it appears there is an incompatibility between mongodump version 4.2 and MongoDB 3.4.22.

      The error as reported by the customer is:

      The mongodb dump for collection deviceOperation on cluster <CLUSTER_NAME> is failing with the following error.
      ==========
      Failed: error creating intents to dump: error counting <CLUSTER_NAME>.deviceOperation: connection
      ==========
      

      The command which triggered this error was:

      mongodump --uri "mongodb://<User>:<Password>@<NAMES_OF_ALL_NODES>/<DATABASE_NAME>?ssl=true&replicaSet=<CLUSTER_NAME>&authSource=admin" --out <FILENAME. --collection <COLLECTION_NAME>
      

      Workaround:

      Use version 4.0.x of the mongodump.

      • Please verify if this is a bug, or a known incompatibility.
      • Please review the other tools in the 4.2 release to determine if there are other incompatibilities/bugs with supported previous versions of MongoDB.
      • If this is a known incompatibility, or a fix is not planned, please open a documentation ticket to update our customer-facing documentation with the information.

            Assignee:
            Unassigned Unassigned
            Reporter:
            aaron.bromberg@mongodb.com Aaron Bromberg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: