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

mongoimport doesn`t support retryWrites=false when importing data to shard cluster

    XMLWordPrintable

    Details

    • Type: Investigation
    • Status: Accepted
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: 100.1.1
    • Fix Version/s: 100.6.0
    • Component/s: None
    • Labels:
    • Environment:
      rhel7
    • Documentation Changes:
      Not Needed
    • Case:

      Description

      Hi, 

      having env with shard cluster on local SERVER:55555, version 4.4.1.

      Following import command:

      echo fff | mongoimport mongodb://czcholsint1611:55555/C360?retryWrites=false -c test --type=tsv -f 1 --version

      return err:

      Failed: this MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string

       

      when I try same command against Standalone mongod SERVER:33331 (4.4.1) I get no err:

       

      echo fff | mongoimport mongodb://SERVER:33331/C360?retryWrites=false -c test --type=tsv -f 1

      connected to: mongodb://czcholsint1611:33331/C360?retryWrites=false
      1 document(s) imported successfully. 0 document(s) failed to import.

       

      best regards

      marian

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marian.badinka@dhl.com marian badinka
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: