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

Tools don't support setting retryWrites=false in URI parameter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 100.1.1
    • 100.5.2
    • None
    • rhel7
    • Not Needed

    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

              tim.fogarty@mongodb.com Tim Fogarty
              marian.badinka@dhl.com marian badinka
              Evgeni Dobranov
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: