[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:
Backports
Related
related to SERVER-25652 Slow chunk migrations when there are ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.2
Sprint: Sharding 2016-10-31
Participants:
Case:

 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: SERVER-26684 Do not rountrip between ChunkType and BSON during chunk reload
Branch: master
https://github.com/mongodb/mongo/commit/f597163d0007bff21f3496f238fb58b7bbdce479

Generated at Thu Feb 08 04:12:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.