[SERVER-12564] Command:: slaveOk and slaveOverrideOk are confusing and represent three possible meanings four ways Created: 31/Jan/14  Updated: 06/Dec/22  Resolved: 23/Feb/17

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: Needs Triage
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Matt Dannenberg Assignee: Backlog - Query Team (Inactive)
Resolution: Won't Fix Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query
Participants:

 Description   

There are only three possible values for what these two bools represent:

  1. secondaries cannot do it
  2. secondaries can do it
  3. secondaries can do it if and only if slaveOk has been set


 Comments   
Comment by Spencer Brody (Inactive) [ 31/Jan/14 ]

Instead, we should return an enum describing the behavior on secondaries

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