-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
----------------------------
Original Description
db.eval() does not run on secondary nodes
https://github.com/mongodb/mongo/blob/r3.4.16/src/mongo/db/commands/eval.cpp#L155
The documentation does not mention this and we've had customers ask us how to run it on slaves.
Please add a line to the documentation to alert the users that the function is only supported on primary nodes.
----------------------------