[SERVER-32526] Use KeyString for the ChunkManager's ChunkMap key instead of BSONObj Created: 03/Jan/18  Updated: 30/Oct/23  Resolved: 13/Jan/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.7.1

Type: Improvement Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-26778 Improve the speed of incremental chun... Closed
Related
related to SERVER-37810 Optimise balancer performance with zo... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-01-15, Sharding 2018-01-29
Participants:

 Description   

Using KeyString allows the look-ups and modifications to use memory comparisons instead of BSONObj::woCompare, which offers significant performance gain for both refresh and routing/filtering.



 Comments   
Comment by Githook User [ 13/Jan/18 ]

Author:

{'email': 'schwerin@mongodb.com', 'name': 'Andy Schwerin', 'username': 'amschwerin'}

Message: SERVER-32526 Use KeyString for ChunkMap key instead of BSONObj
Branch: master
https://github.com/mongodb/mongo/commit/9b3ff62c2776039725342f0f22a843e6b375f1be

Comment by Githook User [ 13/Jan/18 ]

Author:

{'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev', 'username': 'kaloianm'}

Message: SERVER-32526 Increase the ChunkManager unit-test coverage

Also tightens up some of the checks in the JS tests and cleans up the
ChunkManager/CollectionMetadata code in preparation for making it use
KeyString.
Branch: master
https://github.com/mongodb/mongo/commit/f164097cb678f763289ee870e854f89749dbbba8

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