[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.
{{}}
{{

{"t":\{"$date":"2021-11-15T06:08:39.600Z"}

,"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 }

"}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:39.600Z"}

,"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 }

"}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:39.600Z"}

,"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000033,"ctx":"Connection 5","msg":"Running listDatabases","attr":{"nameOnly":true,"result":

{"databasesCount":1}

}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:39.662Z"}

,"s":"I","c":"MONGOSH-SP","id":1000000037,"ctx":"connect","msg":"Connection attempt finished"}}}
{{

{"t":\{"$date":"2021-11-15T06:08:39.663Z"}

,"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"}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:39.666Z"}

,"s":"I","c":"MONGOSH","id":1000000010,"ctx":"shell-api","msg":"Initialized context","attr":{"method":"setCtx","arguments":{}}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:39.678Z"}

,"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"}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:39.679Z"}

,"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"}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:39.680Z"}

,"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000032,"ctx":"Connection 5","msg":"Running listCollections","attr":{"db":"sample_database","nameOnly":false,"result":

{"collectionsCount":4}

}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:39.952Z"}

,"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 })()"}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:40.940Z"}

,"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}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:47.441Z"}

,"s":"D2","c":"COMPASS-DATA-SERVICE","id":1001000022,"ctx":"Connection 5","msg":"Server heartbeat succeeded","attr":{"connectionId":"xx.xxx.xx.xxx:27017","duration":103}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:53.811Z"}

,"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"}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:53.812Z"}

,"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000040,"ctx":"Connection 5","msg":"Running dropDatabase","attr":{"db":"sample_database","result":true}}}}
{{

{"t":\{"$date":"2021-11-15T06:08:53.826Z"}

,"s":"W","c":"COMPASS-CRUD-UI","id":1001000072,"ctx":"Documents","msg":"Trying to refresh documents but dataService is disconnected"}}}


 Description   

Problem Statement/Rationale

What is going wrong? What action would you like the Engineering team to take?

Steps to Reproduce

How could an engineer replicate the issue you’re reporting?

Expected Results

What do you expect to happen?

Actual Results

What do you observe is happening?

Additional Notes

Any additional information that may be useful to include.



 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?
Thanks, hope we can get to the bottom of it.

Generated at Wed Feb 07 22:39:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.