[COMPASS-5292] Update mongo compass v1.29.4 dropped an existing database unfortunately Created: 15/Nov/21 Updated: 16/Mar/22 Resolved: 16/Mar/22 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Data |
| Affects Version/s: | 1.29.4 |
| Fix Version/s: | No version |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | techi byte | Assignee: | Rhys Howell |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 10 64 bit |
||
| Documentation Changes: | Not Needed |
| UserVoice Links: | Kindly verify the logs. ,"s":"D1","c":"COMPASS-DATA-SERVICE","id":1001000030,"ctx":"Connection 5","msg":"Driver command failed","attr":{"address":"xx.xxx.xx.xxx:27017","serverConnectionId":1,"duration":91,"commandName":"listDatabases","failure":"not authorized on admin to execute command { listDatabases: 1, nameOnly: true }"}}}} ,"s":"W","c":"COMPASS-DATA-SERVICE","id":1001000098,"ctx":"Connection 5","msg":"Failed to run listDatabases","attr":{"message":"not authorized on admin to execute command { listDatabases: 1, nameOnly: true }"}}}} ,"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000033,"ctx":"Connection 5","msg":"Running listDatabases","attr":{"nameOnly":true,"result": {"databasesCount":1}}}}} ,"s":"I","c":"MONGOSH-SP","id":1000000037,"ctx":"connect","msg":"Connection attempt finished"}}} ,"s":"D2","c":"COMPASS-DATA-SERVICE","id":1001000029,"ctx":"Connection 5","msg":"Driver command succeeded","attr":{"address":"xx.xxx.xx.xxx:27017","serverConnectionId":1,"duration":62,"commandName":"dbStats"}}}} ,"s":"I","c":"MONGOSH","id":1000000010,"ctx":"shell-api","msg":"Initialized context","attr":{"method":"setCtx","arguments":{}}}}} ,"s":"D2","c":"COMPASS-DATA-SERVICE","id":1001000029,"ctx":"Connection 5","msg":"Driver command succeeded","attr":{"address":"xx.xxx.xx.xxx:27017","serverConnectionId":3,"duration":76,"commandName":"listCollections"}}}} ,"s":"D2","c":"COMPASS-DATA-SERVICE","id":1001000029,"ctx":"Connection 5","msg":"Driver command succeeded","attr":{"address":"xx.xxx.xx.xxx:27017","serverConnectionId":2,"duration":77,"commandName":"connectionStatus"}}}} ,"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000032,"ctx":"Connection 5","msg":"Running listCollections","attr":{"db":"sample_database","nameOnly":false,"result": {"collectionsCount":4}}}}} ,"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"(() => {\n switch (typeof prompt) {\n case 'function':\n return prompt();\n case 'string':\n return prompt;\n }\n })()"}}}} ,"s":"I","c":"MONGOSH","id":1000000004,"ctx":"connect","msg":"Connecting to server","attr":{"session_id":"","userId":"<compass user>","connectionUri":"<mongodb uri><ip address>9:27017/sample_database?authSource=sample_database&readPreference=primary&appname=MongoDB+Compass&directConnection=true&ssl=false","is_atlas":false,"is_localhost":false,"is_do":false,"server_version":"3.2.22","node_version":"v14.16.0","mongosh_version":"1.1.2","server_os":"linux","server_arch":"x86_64","is_enterprise":false,"auth_type":"DEFAULT","is_data_lake":false,"dl_version":null,"atlas_version":null,"is_genuine":true,"non_genuine_server_name":"mongodb","fcv":null,"api_version":null,"api_strict":null,"api_deprecation_errors":null}}}} ,"s":"D2","c":"COMPASS-DATA-SERVICE","id":1001000022,"ctx":"Connection 5","msg":"Server heartbeat succeeded","attr":{"connectionId":"xx.xxx.xx.xxx:27017","duration":103}}}} ,"s":"D2","c":"COMPASS-DATA-SERVICE","id":1001000029,"ctx":"Connection 5","msg":"Driver command succeeded","attr":{"address":"xx.xxx.xx.xxx:27017","serverConnectionId":2,"duration":110,"commandName":"dropDatabase"}}}} ,"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000040,"ctx":"Connection 5","msg":"Running dropDatabase","attr":{"db":"sample_database","result":true}}}} ,"s":"W","c":"COMPASS-CRUD-UI","id":1001000072,"ctx":"Documents","msg":"Trying to refresh documents but dataService is disconnected"}}} |
| Description |
| Comments |
| Comment by Rhys Howell [ 16/Mar/22 ] |
|
techibyte007@gmail.com Going to close this for now if that's alright, if we get some more information down the line we can reopen and address it. |
| Comment by Rhys Howell [ 15/Nov/21 ] |
|
Hi techibyte007@gmail.com could you walk us through the actions you took? When did the database drop occur? What was unexpected/unfortunate about it? |