[SERVER-53394] Make ShardingTaskExecutorPoolReplicaSetMatching default to disabled for MongoD Created: 16/Dec/20  Updated: 29/Oct/23  Resolved: 29/Jan/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0, 4.2.13, 4.4.5

Type: Improvement Priority: Critical - P2
Reporter: Benjamin Caimano (Inactive) Assignee: George Wangensteen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-14167 Investigate changes in SERVER-53394: ... Closed
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2
Sprint: Service Arch 2021-02-08
Participants:
Case:

 Description   

We currently set ShardingTaskExecutorPoolReplicaSetMatching to "matchPrimaryNode" by default for both MongoD and MongoS (see here). However, the "matchPrimaryNode" behavior can be problematic for topologies when multiple shardsvrs experience a rapid influx of cross-shard operations. We should disable this behavior on MongoD nodes but not MongoS nodes.



 Comments   
Comment by Githook User [ 17/Feb/21 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-53394 Make ShardingTaskExecutorPoolReplicaSetMatching default to disabled for mongod

(cherry picked from commit ac99b5cf6202e2941220a1f5f56b8223af1841e9)
Branch: v4.4
https://github.com/mongodb/mongo/commit/b1754775cf6a95e35b7e8943ae2dda0080636d92

Comment by Githook User [ 08/Feb/21 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-53394 Make ShardingTaskExecutorPoolReplicaSetMatching default to disabled for mongod

(cherry picked from commit ac99b5cf6202e2941220a1f5f56b8223af1841e9)
Branch: v4.2
https://github.com/mongodb/mongo/commit/6c57358e4156ae4291f24fce1cf22ffc54f4dbb0

Comment by Githook User [ 27/Jan/21 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-53394 Make ShardingTaskExecutorPoolReplicaSetMatching default to disabled for mongod
Branch: master
https://github.com/mongodb/mongo/commit/ac99b5cf6202e2941220a1f5f56b8223af1841e9

Generated at Thu Feb 08 05:30:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.