Investigate apparent regression in classic engine IDHACK
(SERVER-68110)
|
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Sub-task | Priority: | Major - P3 |
| Reporter: | Colin Stolley | Assignee: | Colin Stolley |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Sprint: | QE 2023-05-15 |
| Participants: |
| Description |
|
There's no need for the parameter map to be ordered (uses heavier rbtree for no reason), plus StringMap is more efficient. See src/mongo/db/server_parameter.h |
| Comments |
| Comment by Colin Stolley [ 17/Feb/23 ] |
|
billy.donahue@mongodb.com pointed out that server parameters are displayed to the user (eg., in getServerParameters() output) and returning them in arbitrary order would be undesirable from a UX perspective. We could sort them on the way out as needed, but since this is a fairly narrow improvement to begin with, it's not worth the effort. |