[DOCS-8514] dropDatabase in sharded environments should point out that all mongos instances need cache refreshed Created: 05/Aug/16  Updated: 11/Jun/20  Resolved: 15/Aug/18

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Roy Rim Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-17397 Dropping a Database or Collection in ... Closed
is related to DOCS-13703 drop collection in sharded environmen... Closed
Participants:
Days since reply: 5 years, 26 weeks ago
Epic Link: DOCSP-1769

 Description   

Hey team,

after running a dropDatabase and then creating a new database with the same name will leave mongos instances, other than the one that dropped the database, with old information about where the "primary shard" for the database is. Please see SERVER-15213.

We have a warning on movePrimary about mongos concurrency issue and we feel that the same warning should be on dropDatabase.

Regards,
Roy Rim



 Comments   
Comment by Githook User [ 15/Aug/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-8514: dropDatabase and refresh mongos cache
Branch: v3.6
https://github.com/mongodb/docs/commit/855f0d2d071399c1c4c836a8c260d851af2e4d55

Comment by Githook User [ 15/Aug/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-8514: dropDatabase and refresh mongos cache
Branch: v3.4
https://github.com/mongodb/docs/commit/6b544772337c4e42560f4e8e6f4543bb0337cebe

Comment by Githook User [ 15/Aug/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-8514: dropDatabase and refresh mongos cache
Branch: master
https://github.com/mongodb/docs/commit/f35f9f3d3d4cfe15a20de2fa336ad00fc948f7be

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