-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 100.3.0
-
Component/s: mongodump
-
None
-
Environment:Ubuntu 20.04.2 LTS
Linux 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Steps to Reproduce
~# mongodump -o ./ --host db-1/db1-1,db1-2,db1-3 -u someuser --authenticationDatabase admin -d dbname -j 1 --readPreference=secondaryPreferred --gzip -c collectionname Enter password: 2021-07-07T12:46:10.416+0300 namespace with DB dbname and collection collectionname does not exist ~# echo $? 0
Expected Results
Mongodump should return non-zero error code.