Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9983

In the 3.0 and later manuals it says "... must use mongoimport while connected to a mongod instance."

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: tools
    • Labels:
      None
    • Environment:
      Documentation for versions 3.0, 3.2, and 3.4 re mongoimport, mongoexport, mongodump, mongorestore

      When mongoimport, mongoexport, mongodump and mongrestore were rebuilt in Go in version 3.0, they could no longer link in in libraries from mongod and thus could not read/write from/to the files in the DBPATH without going via a running mongod.

      For all four tools there is a comment/warning like:

      "Changed in version 3.0.0: mongoimport removed the --dbpath as well as related
      --directoryperdb and --journal options. You must use mongoimport while connected
      to a mongod instance."

      This confused my customer with a sharded cluster who tried to bypass his mongos to write directly to a mongod for the shard ...

      The comment/warning should be updated to something like " ... without going via a running mongod or mongos as appropriate."

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            william.byrne@mongodb.com William Byrne III
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 years, 8 weeks, 1 day ago