[SERVER-18313] Commnad "show dbs" does not list all the database Created: 04/May/15 Updated: 10/Mar/23 Resolved: 13/May/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client |
| Affects Version/s: | 3.0.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Darshit | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | Steps: Now, when step 3 is executed, it doesn't show database created in step 2. |
||||||||
| Participants: | |||||||||
| Description |
|
When user says "use <database_name>", if database with that name doesn't exists, mongodb creates the database and switches to it. If database already exists, mongodb only switches to asked database in the command. if user doesn't create any collection or add user to newly created database, mongodb doesn't show newly created database when "use <databae_name>" command is issued. |
| Comments |
| Comment by Sam Kleinman (Inactive) [ 07/May/15 ] |
|
Hello, After running some tests and poking around in the code, there are a couple of underlying issues here.
Given this, I think the behavior that you're seeing is expected. I'm going to go ahead and close this ticket, but I've sent this ticket to our documentation team who will consider the best way to clarify these expectations in the documentation. Cheers, |
| Comment by Darshit [ 04/May/15 ] |
|
There are few mistakes. Corrections are shown below. 1.) Title: Commnad "show dbs" does not list all the databases. |