[SERVER-36863] query_config.js assumes that config.mongos is always present Created: 24/Aug/18  Updated: 29/Oct/23  Resolved: 24/Aug/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 4.0.1
Fix Version/s: 3.6.11, 4.0.6, 4.1.3

Type: Bug Priority: Minor - P4
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0, v3.6
Sprint: Sharding 2018-08-27
Participants:
Linked BF Score: 2

 Description   

The query_config.js test assumes that the config.mongos collection is always present, however this collection is created asynchronously by the mongos ShardingUptimeReporter.

We should not assume that this collection is always present.



 Comments   
Comment by Githook User [ 24/Jan/19 ]

Author:

{'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev', 'username': 'kaloianm'}

Message: SERVER-36863 Make query_config.js only check for collections synchronously created at cluster initialization

(cherry picked from commit 3d7d2b79988733cefe044c5e0812e12d01f70876)
Branch: v3.6
https://github.com/mongodb/mongo/commit/8cb57a8acb9ab0ca7937d66c30d500a76247077b

Comment by Githook User [ 22/Jan/19 ]

Author:

{'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev', 'username': 'kaloianm'}

Message: SERVER-36863 Make query_config.js only check for collections synchronously created at cluster initialization

(cherry picked from commit 3d7d2b79988733cefe044c5e0812e12d01f70876)
Branch: v4.0
https://github.com/mongodb/mongo/commit/20e2aa85690743949ce1a5923feaf535fc72a84a

Comment by Githook User [ 24/Aug/18 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-36863 Make query_config.js only check for collections synchronously created at cluster initialization
Branch: master
https://github.com/mongodb/mongo/commit/3d7d2b79988733cefe044c5e0812e12d01f70876

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