[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: |
|
||||||||||||||||
| 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: |
| Comment by Githook User [ 13/Jan/18 ] |
|
Author: {'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev', 'username': 'kaloianm'}Message: Also tightens up some of the checks in the JS tests and cleans up the |