[SERVER-29497] Validate should use KeyString for comparison instead of woCompare Created: 07/Jun/17 Updated: 30/Oct/23 Resolved: 19/Jun/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.9 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Geert Bosch | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Storage 2017-06-19, Storage 2017-07-10 |
| Participants: |
| Description |
|
Currently RecordStoreValidateAdaptor::traverseIndex calls woCompare to check ordering of index keys, but a few lines later in hashIndexEntry we compute the KeyString. We should use these to compare instead, as that's much cheaper. |
| Comments |
| Comment by Githook User [ 19/Jun/17 ] |
|
Author: {u'username': u'GWlodarek', u'name': u'Gregory Wlodarek', u'email': u'gregory.wlodarek@mongodb.com'}Message: |