-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Running an aggregate without a $out stage on a collection that has a non-nil write concern yields the following error:
command.Error{Code:72, Message:"Command does not support writeConcern", Labels:[]string(nil), Name:"InvalidOptions"}
Change command/aggregate.go to only include write concern if $out is specified.