[SERVER-8869] Command to merge two co-located, adjacent chunks Created: 06/Mar/13 Updated: 11/Jul/16 Resolved: 16/Aug/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.2 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Alberto Lerner | Assignee: | Randolph Tan |
| Resolution: | Done | Votes: | 3 |
| Labels: | balancer, chunks, merge | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
This is a metadata-only operation. If two chunks are co-located and share one boundary, we'd like to be able to create a single chunk out of the two original in an atomic operation. This is the first step towards support generic chunk merges in the future. |
| Comments |
| Comment by Greg Studer [ 16/Aug/13 ] |
|
Merge command takes min/max bounds of the chunks to merge, and will only succeed if one or both of the two merged chunks is empty. Code is pretty flexible though, we should be able to relax when safe in the future. |
| Comment by auto [ 15/Aug/13 ] |
|
Author: {u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 14/Aug/13 ] |
|
Author: {u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 13/Aug/13 ] |
|
Author: {u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: Revert " This reverts commit a58ae77d0e5035cb4b541751dbe042e9173deea5. |
| Comment by auto [ 13/Aug/13 ] |
|
Author: {u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 01/Aug/13 ] |
|
Author: {u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |