[SERVER-23784] Don't use 30 second network timeout on commands sent to shards through the ShardRegistry Created: 18/Apr/16  Updated: 25/Jan/17  Resolved: 18/Apr/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.2.6, 3.3.5

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: code-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-23820 "Operation timed out" when enableShar... Closed
is duplicated by SERVER-27515 Issue with sharding a huge collection... Closed
Related
related to SERVER-23782 make Shard::_runCommand and Shard::_e... Closed
is related to SERVER-23487 Issue with Sharding Collection SplitV... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: Sharding 13 (04/22/16)
Participants:

 Description   

In 3.2 we run many commands through the ShardRegistry, instead of using DBClient directly. We wanted to always use a 30 second timeout for all commands sent to the config servers through the ShardRegistry, but in doing so we accidentally started using the 30 second timeout for commands run against shards as well, where it may not be right to do so.



 Comments   
Comment by Githook User [ 18/Apr/16 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-23784 Don't use 30 second network timeout when sending commands to Shards

(cherry picked from commit a42a3d9e45f23e979f20113549ad91a6886ede3d)
Branch: v3.2
https://github.com/mongodb/mongo/commit/baca8abf549cef40b70d4623058a598740ff9ec1

Comment by Githook User [ 18/Apr/16 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-23784 Don't use 30 second network timeout when sending commands to Shards
Branch: master
https://github.com/mongodb/mongo/commit/a42a3d9e45f23e979f20113549ad91a6886ede3d

Generated at Thu Feb 08 04:04:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.