[SERVER-19036] mongos returns error code 60 (database not found) when createIndexes is executed immediately after dropDatabase Created: 18/Jun/15  Updated: 14/Apr/16  Resolved: 18/Jun/15

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

Type: Bug Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Kaloian Manassiev
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-18062 Creating an index on a collection in ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

mongos> db.dropDatabase()
{ "dropped" : "JavaDriverTest", "ok" : 1 }
mongos> db.test.createIndex({x : 1})
{ "code" : 60, "ok" : 0, "errmsg" : "database JavaDriverTest not found" }

Participants:

 Description   

After executing a dropDatabase command against a mongos server, a subsequent call to createIndexes in the dropped database fails with error code 60.

This does not occur in 2.4, 2.6, or 3.0.



 Comments   
Comment by Kaloian Manassiev [ 18/Jun/15 ]

Duplicate of SERVER-18062.

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