[SERVER-21866] couldn't find database [aaa] in config db Created: 11/Dec/15  Updated: 09/Jan/16  Resolved: 09/Jan/16

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

Type: Bug Priority: Major - P3
Reporter: ufo ofu Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-17397 Dropping a Database or Collection in ... Closed
Operating System: ALL
Participants:

 Description   

databases collection in config database have

{"_id":"aaa","partitioned":false,"primary":"shard1"}

docement
connect mongos
show dbs;
not have aaa database;

log file:
2015-12-11T23:59:07.379+0800 I NETWORK [initandlisten] connection accepted from #152741 (103 connections now open)
2015-12-11T23:59:07.502+0800 I NETWORK [conn234578] end connection 192.168.20.113:35936 (81 connections now open)
2015-12-11T23:59:07.503+0800 I NETWORK [initandlisten] connection accepted from 192.168.20.113:35940 #234582 (82 connections now open)
2015-12-11T23:59:08.081+0800 I SHARDING [conn15614] couldn't find database [aaa] in config db
2015-12-11T23:59:08.384+0800 I NETWORK [conn241020] end connection (1418 connections now open)
2015-12-11T23:59:08.385+0800 I NETWORK [initandlisten] connection accepted from #241025 (1419 connections now open)
2015-12-11T23:59:08.755+0800 I NETWORK [conn132274] end connection (901 connections now open)
2015-12-11T23:59:08.755+0800 I NETWORK [initandlisten] connection accepted from #132278 (902 connections now open)

I tried to manually drop the aaa database, and connect to the mongos exect db.runCommand ("flushRouterConfig"); Over a period of time and the same question.



 Comments   
Comment by Kelsey Schubert [ 16/Dec/15 ]

Hi liang.zhang@17zuoye.com,

This behavior may be related to SERVER-17397. Can you follow the workaround steps outlined there, and let us know if that resolves your issue?

Thank you,
Thomas

Comment by ufo ofu [ 11/Dec/15 ]

environment
linux: centos 6.5
mongo-version:3.0.7
filesystem:xfs
mongod-engine wiredTiger
configure-engine mmapv1

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