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."

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None
    • Environment:
      Documentation for versions 3.0, 3.2, and 3.4 re mongoimport, mongoexport, mongodump, mongorestore
    • Estimate:
      Small
    • Last comment by Customer:
      true

      Description

      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."

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              4 years, 46 weeks, 4 days ago
              Date of 1st Reply: