[SERVER-27860] Enable ShardLocal on shards Created: 30/Jan/17 Updated: 01/Mar/17 Resolved: 01/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Dianna Hohensee (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Sharding 2017-02-13, Sharding 2017-03-06 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
Currently ShardLocal has invariants to only run on config servers. Safe secondary reads requires the ability to do local reads/writes, to new config.chunks.uuid collections, so these must be removed. The initialization code will also need to be changed, to create ShardLocal instances on shards, which currently cannot be happening because the ShardLocal constructor has an invariant in it to make sure it's on a config server. Specific Shard class changes:
|
| Comments |
| Comment by Dianna Hohensee (Inactive) [ 01/Mar/17 ] |
|
Reverted preliminary work above because this task is no longer needed. |
| Comment by Dianna Hohensee (Inactive) [ 01/Mar/17 ] |
|
Author: {u'username': u'DiannaHohensee', u'name': u'Dianna Hohensee', u'email': u'dianna.hohensee@10gen.com'}Message: Revert " This reverts commit d29e95a056c2522f4bfd57e417970e7ecf18266c. |
| Comment by Githook User [ 10/Feb/17 ] |
|
Author: {u'username': u'DiannaHohensee', u'name': u'Dianna Hohensee', u'email': u'dianna.hohensee@10gen.com'}Message: |