[SERVER-16115] Helpers::removeRange should check if master Created: 12/Nov/14 Updated: 24/Jan/15 Resolved: 22/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.7.8 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Randolph Tan |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Now that yielding has been put back to the server, removeRange needs to make sure it's still primary after a yield before attempting to delete a document. |
| Comments |
| Comment by Randolph Tan [ 24/Nov/14 ] |
|
schwerin They are very similar - we can probably merge them together if we want. The original fix on this ticket for 2.6 only checks after returning from a yield and not on the normal case and |
| Comment by Andy Schwerin [ 24/Nov/14 ] |
|
rassi@10gen.com, how is this distinct from |