[SERVER-4206] config server down error message on db create should be better Created: 03/Nov/11  Updated: 06/Dec/22  Resolved: 31/May/19

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

Type: Bug Priority: Minor - P4
Reporter: Greg Studer Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Done Votes: 1
Labels: ShardingRoughEdges, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding
Operating System: ALL
Participants:

 Description   

When a config server is down, new databases (correctly) cannot be created via mongos. However, the error message given is not helpful :

m40002| Thu Nov 3 15:43:24 [conn10] end connection 127.0.0.1:50362 (20 connections now open)
m40000| Thu Nov 3 15:43:24 [conn10] end connection 127.0.0.1:53081 (20 connections now open)
Thu Nov 3 15:43:24 exec error: shell/query.js:118 error: {
"$err" : "SyncClusterConnection::udpate prepare failed: 10276 DBClientBase::findN: transport error: ubuntu:40001 ns: admin.$cmd query:

{ fsync: 1 }

ubuntu:40001:{}",
"code" : 8005
}
throw "error: " + tojson( ret );
^



 Comments   
Comment by Ratika Gandhi [ 31/May/19 ]

Don't use SyncClusterConnection anymore.

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