[SERVER-71081] Make ShardingWriteRouter instantiation a noop again for non-shardsvrs Created: 04/Nov/22  Updated: 29/Oct/23  Resolved: 09/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Jordi Serra Torrens Assignee: Jordi Serra Torrens
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
is caused by SERVER-69435 Make the CSS acquisition a RAII Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-11-14
Participants:
Linked BF Score: 100

 Description   

SERVER-69435 removed this early exit for non-shardsvrs in ShardingWriteRouter. This caused a performance regression on some replica set workloads.
This ticket is to reintroduce that early exit.



 Comments   
Comment by Githook User [ 09/Nov/22 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-71081 Make ShardingWriteRouter instantiation a noop again for non-shardsvrs
Branch: master
https://github.com/mongodb/mongo/commit/e0371ea57343d3fef7ced4575e111256882f230d

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