Priority: Major - P3
Affects Version/s: None
Fix Version/s: None
Environment:Documentation for versions 3.0, 3.2, and 3.4 re mongoimport, mongoexport, mongodump, mongorestore
Last comment by Customer:true
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."