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

mongoimport using replica set url strings does not work

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.11
    • Component/s: mongoimport
    • None
    • Environment:
      centos-6.6 mongo3.2.11

      when I use mongoimport to import my csv files with replca set url strings ,I kill the primary
      I think it would fail over but actually mongoimport failed ,so I can't underestand what happend

      mongoimport does not support replica set ,or some other methods?
      my command:
      mongoimport --host=res_malie/192.168.12.11,192.168.12.12,192.168.12.13 -d malie -c subs_1 --numInsertionWorkers=64 --file=/data_mongo/script/mi_dm_subs --fieldFile=/data_mongo/script/headerline/subs.headerline_1 --type csv --writeConcern '

      {w:"majority",wtimeout:15000}

      '

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            402309718@qq.com Malie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: