[SERVER-2306] Add stricter checks for location when accepting a request to split a chunk Created: 29/Dec/10  Updated: 12/Jul/16  Resolved: 29/Dec/10

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 1.7.5

Type: Bug Priority: Minor - P4
Reporter: Alberto Lerner Assignee: Alberto Lerner
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

A stale mongos can issue a split request against a shard that does not own the chunk any longer. The command would fail but on secondary checks. Make the checks for this case explicit.



 Comments   
Comment by Alberto Lerner [ 29/Dec/10 ]

Author:

{u'login': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

SERVER-2306 refresh mongos chunk state if a split failed as well
https://github.com/mongodb/mongo/commit/abf4b56913c9e7a5ef31da6f77ad364726c1cf23

Added to SERVER-2036 by mistake

Comment by auto [ 29/Dec/10 ]

Author:

{u'login': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-2306 split request now carries expected shard information
https://github.com/mongodb/mongo/commit/acb40fb68460edfa7560f5e914ca7834abffa0c4

Generated at Thu Feb 08 02:59:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.