[SERVER-7256] mongos sometimes gives error when user queries config db if shard 0 is down Created: 04/Oct/12  Updated: 06/Dec/22  Resolved: 21/Mar/18

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

Type: Bug Priority: Minor - P4
Reporter: Dwight Merriman Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding
Operating System: ALL
Participants:

 Description   

get an error querying config db from mongos if shard 0 is down sometimes. seems to happen once per mongo shell invocation then subsequent calls work???

$ mongo
MongoDB shell version: 2.3.0-pre-
connecting to: test
type "help" for help
mongos> use config
switched to db config
mongos> show collections
Thu Oct 04 12:23:31 uncaught exception: error:

{ "$err" : "ReplicaSetMonitor no master found for set: s0", "code" : 10009 }

mongos> show collections
// works at this point...


Generated at Thu Feb 08 03:14:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.