[SERVER-2419] Chunks on same server incorrectly calculate central keys for split Created: 27/Jan/11 Updated: 12/Jul/16 Resolved: 06/Mar/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Greg Studer | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
When multiple chunks are present on the same server for the same collection, the split key is automatically calculated as the key at half the total size of the index, not the size of the individual chunk. This leads to errors when the chunk size is smaller than half the total index size. Included test reproduces. |
| Comments |
| Comment by auto [ 07/Mar/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: make forcing a split work better |
| Comment by auto [ 06/Mar/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: test for |
| Comment by auto [ 06/Mar/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: make forcing a split work better |
| Comment by Greg Studer [ 04/Mar/11 ] |
|
Fix for the issue |
| Comment by Greg Studer [ 03/Mar/11 ] |
|
Fix available if needed, scans full index only if bounds on index different than chunk bounds. |