[SERVER-2420] DB error when chunk moved back and forth Created: 27/Jan/11  Updated: 17/Mar/11  Resolved: 03/Mar/11

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

Type: Bug Priority: Minor - P4
Reporter: Greg Studer Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux


Attachments: File shard_movesplit.js    
Issue Links:
Duplicate
duplicates SERVER-2419 Chunks on same server incorrectly cal... Closed
Operating System: ALL
Participants:

 Description   

Moving a chunk back and forth seems to erase the chunk data.



 Comments   
Comment by Greg Studer [ 27/Jan/11 ]

More info... when chunk is moved back and forth between shards, the move seems to eliminate the chunk bounds data, throwing this error (no bounds, not stale bounds, are found). Test is a bit complex, requires two moves, can't seem to duplicate with a simpler setup (though third chunk split is not needed, actually).

Error:

command { "split" : "test.foo", "find" :

{ "_id" : 3 }

} failed: {
"cause" : {
"assertion" : "couldn't find chunk

{ _id: 0.0 }

->

{ _id: 9.0 }

",
"assertionCode" : 13586,
"errmsg" : "db assertion failure",
"ok" : 0
},
"ok" : 0,
"errmsg" : "split failed"
}

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