Investigate apparent regression in classic engine IDHACK (SERVER-68110)

[SERVER-73913] ServerParameter map should be a StringMap Created: 10/Feb/23  Updated: 10/May/23  Resolved: 17/Feb/23

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.

Generated at Thu Feb 08 06:25:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.