[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:
Duplicate
duplicates SERVER-15798 Helpers::removeRange does not check i... Closed
Related
is related to SERVER-14551 Runner yield during migration cleanup... Closed
Tested
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 SERVER-15798 was intended to cover the normal case.

Comment by Andy Schwerin [ 24/Nov/14 ]

rassi@10gen.com, how is this distinct from SERVER-15798?

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