[SERVER-50413] Change "not master and slaveOk=false" error message to "not master and secondaryOk=false" Created: 20/Aug/20 Updated: 05/Nov/20 Resolved: 05/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pavithra Vetriselvan | Assignee: | Pavithra Vetriselvan |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Sprint: | Repl 2020-09-21, Repl 2020-11-02, Repl 2020-11-16 | ||||||||
| Participants: | |||||||||
| Description |
|
Ensure that the new error message is only returned if the client sent a "hello" command. This is to preserve backwards compatibility with older drivers that parse the error message for "not master". |