[SERVER-24890] Database disappeared from Mongos Created: 04/Jul/16  Updated: 01/Aug/16  Resolved: 01/Aug/16

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

Type: Bug Priority: Major - P3
Reporter: Pierre MOELO [X] Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Hello,

Strange problem..
I have 3 configserver, 1 mongos, 3 mongodb.
On the Mongos server I have a database who has disappeared.

 
mongos> use repoDB1
switched to db repoDB1
mongos> show collections
2016-07-04T16:31:04.423+0200 E QUERY    [thread1] Error: listCollections failed: {
        "code" : 13282,
        "ok" : 0,
        "errmsg" : "Couldn't load a valid config for repoDB1.pages after 3 attempts. Please try again."
} :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DB.prototype._getCollectionInfosCommand@src/mongo/shell/db.js:773:1
DB.prototype.getCollectionInfos@src/mongo/shell/db.js:785:19
DB.prototype.getCollectionNames@src/mongo/shell/db.js:796:16
shellHelper.show@src/mongo/shell/utils.js:753:9
shellHelper@src/mongo/shell/utils.js:650:15
@(shellhelp2):1:1

On the MongoDB server I can access and show all collections on this database.

Thanks in advance



 Comments   
Comment by Kelsey Schubert [ 01/Aug/16 ]

Hi PM,

We haven’t heard back from you for some time, so I’m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket.

Regards,
Thomas

Comment by Ramon Fernandez Marina [ 09/Jul/16 ]

Apologies for the delay in getting back to you PM. What version of MongoDB are you using? Has the repoDB1.pages namespace been dropped and recreated previously?

We'll need to see what the config servers say about this database. Can you please send us a dump of your config database? To do that, please point mongodump to your first config server and run the following:

./mongodump --port NNNNN -d config

Thanks,
Ramón.

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