[SERVER-3602] Add fast-path for migrating empty chunks Created: 15/Aug/11  Updated: 11/Jul/16  Resolved: 20/Nov/12

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

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Kevin Matulef
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-7358 Pre-split new collections when using ... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Curently sleep for a second on every moveChunk which significantly slows down presplitting. For example, to split into 4096 chunks will take about 75 minutes.

Related forum thread: http://groups.google.com/group/mongodb-user/browse_thread/thread/7530e8896da419e6



 Comments   
Comment by Eliot Horowitz (Inactive) [ 21/Dec/12 ]

This is a small code change, but a huge semantic change.
This is not safe enough for backport.

Comment by auto [ 19/Nov/12 ]

Author:

{u'date': u'2012-11-19T02:30:43Z', u'email': u'matulef@gmail.com', u'name': u'Kevin Matulef'}

Message: SERVER-3602 similar functionality, fewer chars
Branch: master
https://github.com/mongodb/mongo/commit/2ded9d6bbafbf276dc1a902f852daa068543a54f

Comment by auto [ 16/Nov/12 ]

Author:

{u'date': u'2012-11-16T00:31:27Z', u'name': u'Kevin Matulef', u'email': u'matulef@gmail.com'}

Message: SERVER-7358 SERVER-3602 make empty chunk movements faster
Branch: master
https://github.com/mongodb/mongo/commit/e8cee07ef063b849e89b507dbcb618d48b7cd2fe

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