[SERVER-13826] splitChunk failure when "find" mode of operation is used Created: 02/May/14  Updated: 19/Oct/15  Resolved: 19/Oct/15

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

Type: Improvement Priority: Minor - P4
Reporter: Davide Italiano Assignee: Unassigned
Resolution: Done Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:

 Description   

Testcase:
https://github.com/dcci/mongo-stress/blob/master/moveShard.c

In order to trigger, here https://github.com/dcci/mongo-stress/blob/master/moveShard.c#L102
instead of i += 2, just put ++i.

The first 14 splits works just fine then 1 over 2 fails. As long as "find" is used, maybe it's not actually splitting at the exact point, it's splitting the chunk in half, then when you keep splitting there's already a chunk boundary at that point. Using "middle" fixes the problem.

After a discussion with greg_10gen he thinks this is probably WAD, but keep track of this for further investigation.


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