[SERVER-26684] Chunk diffing code roundtrips between ChunkType and BSON during reload Created: 18/Oct/16 Updated: 04/Jan/17 Resolved: 19/Oct/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 3.2.10, 3.4.0-rc0 |
| Fix Version/s: | 3.4.0-rc1 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | bkp | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v3.2
|
||||||||||||
| Sprint: | Sharding 2016-10-31 | ||||||||||||
| Participants: | |||||||||||||
| Case: | (copied to CRM) | ||||||||||||
| Description |
|
The chunk diffing code serializes a ChunkType object to BSON and then deserializes it just so it can extract the chunk version. This is unnecessary and inefficient since the chunk version is already present in the chunk object. |
| Comments |
| Comment by Githook User [ 19/Oct/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |