[SERVER-3804] "slaveok" shouldn't be used, especially in error messages, since every function uses "slaveOk" Created: 11/Sep/11  Updated: 11/Jul/16  Resolved: 12/Sep/11

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 2.0.0-rc2
Fix Version/s: 2.1.0

Type: Improvement Priority: Minor - P4
Reporter: Patrick Collison Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File slaveok.patch    
Participants:

 Description   

It's a pain that the shell tells you that "slaveok=false" and then having the fix be "rs.slaveOk()". The error should be "slaveOk=false", which is used almost everywhere else. This patch fixes the last couple of occurrences of "slaveok".



 Comments   
Comment by auto [ 12/Sep/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: veok" shouldn't be used, especially in error messages, since every function uses "slaveOk" SERVER-3804
from: patrick@collison.ie
Branch: master
https://github.com/mongodb/mongo/commit/5fa00754cd6b6c90998113c71cce8bef5d4178da

Comment by Patrick Collison [ 12/Sep/11 ]

Sure, done.

Comment by Eliot Horowitz (Inactive) [ 12/Sep/11 ]

Hi Patrick, thanks for the patch.
Can you fill this out so we can marge the patch: http://www.10gen.com/contributor

Generated at Thu Feb 08 03:04:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.