[SERVER-341] eval fails on slaves even with slaveOkay bit set Created: 07/Oct/09  Updated: 03/Dec/15  Resolved: 03/Dec/15

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Michael Dirolf Assignee: David Storch
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

this is trick as we don't want to allow write operations to the db.
so have to do this lower down.



 Comments   
Comment by Michael Dirolf [ 20/Oct/09 ]

That makes some sense. The main reason I was asking about this was for old style group evals, which seem to me to make sense if slaveOk is set. But there is really no way to know when you're doing a group and when you're doing an eval that will be doing writes, so I guess it's okay to just disallow them entirely.

Generated at Thu Feb 08 02:53:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.