[SERVER-43232] Eliminate the trailing comma when opening "overwrite=false" index cursors Created: 09/Sep/19 Updated: 29/Oct/23 Resolved: 10/Sep/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.3.1 |
| Fix Version/s: | 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Sprint: | Execution Team 2019-09-09, Execution Team 2019-09-23 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Description |
|
The WiredTiger cursor cache has an optimization to skip parsing the config string, but only if it is exactly equal to "overwrite=false". In this case, the additional comma eluded the fast-path and required WiredTiger to parse the config string for every index cursor. This introduced performance regressions on workloads that open many index cursors. The fix should be to construct a comma-less "overwrite=false" config string for normal index cursors. |
| Comments |
| Comment by Githook User [ 10/Sep/19 ] |
|
Author: {'name': 'Louis Williams', 'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com'}Message: |