-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: Logging, Performance, Server Selection
-
2
-
0
-
Not Needed
-
Not Needed
-
Changes introduced on main server selection path to accommodate negatively affect performance in a number of performance tests. Links to evergreen notifications listed in dev comment
Acceptance Criteria
- Inspect all server selection events to see if any costly operations (duplicate function calls, deep clones etc)
- Feature flag topology.ts every time it creates a server selection event, so that the event object is only created when logging is turned on for that component and severity level
Testing Requirements
- Rerun Affected Tests, and record new % change
-
- findOne - 6% throughput reduction
- runCommand - 9% throughput reduction
- smallDocInsertOne - 6.5% throughput reduction
- Ensure that when mongologger is turned off for server selection, we do not create server selection events