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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 100.5.2
    • Affects Version/s: 100.1.1
    • Component/s: None
    • Environment:
      rhel7
    • Not Needed

      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

       

       

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

              Created:
              Updated:
              Resolved: