-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: mongoimport
-
None
-
Tools and Replicator
-
110
Problem Statement/Rationale
Currently, if any --mode option besides `insert` is provided, mongoimport sets maintainInsertionOrder to true and numInsertionWorkers to be 1 (it will ignore the --numInsertionWorkers and --maintainInsertionOrder values provided by the user.) It does this here.
Steps to Reproduce
N/A
Expected Results
mongoimport should return an error for the following criteria if the mode != insert:
- if numInsertionWorkers != 1
- if maintainInsertionOrder != true
Actual Results
mongoimport doesn't throw an error and silently sets these values. This is pretty confusing.