[SERVER-4171] WritebackListener should force detection of newly sharded collection Created: 28/Oct/11 Updated: 11/Jul/16 Resolved: 09/Nov/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.0.1 |
| Fix Version/s: | 1.8.5, 2.0.2, 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Greg Studer | Assignee: | Greg Studer |
| Resolution: | Done | Votes: | 0 |
| Labels: | rn | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
... in the case where it does not appear sharded initially from other operations, throws assertion 10181 Probably the fix is to explicitly check the results of getChunkManagerIfExists() before checking, though a cleaner fix is probably also worth doing. |
| Comments |
| Comment by auto [ 08/Dec/11 ] |
|
Author: {u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 08/Dec/11 ] |
|
Author: {u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by Greg Studer [ 07/Nov/11 ] |
|
1.8 backport will be messier - waiting on discussion of other backports there. |
| Comment by auto [ 07/Nov/11 ] |
|
Author: {u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 07/Nov/11 ] |
|
Author: {u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}Message: reload shard version if needed for new collections in wbl |
| Comment by Greg Studer [ 07/Nov/11 ] |
|
Fixes the issue, but the error is still very ugly. In general, need to refactor chunk manager code to eliminate the masserts and stack traces when not necessary. |
| Comment by auto [ 07/Nov/11 ] |
|
Author: {u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 02/Nov/11 ] |
|
Author: {u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}Message: reload shard version if needed for new collections in wbl |