[UI] Mysql is not the selected engine in database creation when it is not installed as the first operator
Description
Environment
Attachments
Activity

Manish Chawla July 18, 2024 at 6:21 AM
Tested on Everest v0.0.0-0c083d8 version.
Install pg operator. Create a postgresql db.
Install mongodb operator. Create a mongodb db.
Mongodb is chosen first.
Install mysql operator. Create a mysql db.
Mysql is chosen first for creating the db.
The issue is fixed, hence closing it. Thanks Iaroslavana for fixing this issue.

Manish Chawla April 4, 2024 at 10:46 AM
Hi , I sent the recorded video of the steps on slack. I hope you were able to reproduce the issue. I am reassigning the issue to you, if you need more information, please let me know. Thanks.

Iaroslavna Soloveva March 19, 2024 at 3:42 PM
I could reproduce it, but just once, and i don’t know how to repeat.
My steps:
I added namespace pg with just pg operator
then I created pg database with 2 nodes, without backups, PITR and monitoring
then i added mongo db operator to pg namespace via the same command
then I went to browser and record video (below), and nothing(
I can say I saw this effect once vith the same steps between creating db with just pg operator and creating db with pg and mongo operators, but when I decided to add mySQL I didn’t reproduce this bug at the same attempt.
Video was recorded on bdc2ba6fabdf1e4e36439efb2ab9e322cb211faf (main) of everest. Do you have any ideas why we can’t reproduce it? Can you record video from start to finish with terminal? It may matter which pages you opened in the process...

Manish Chawla March 12, 2024 at 12:54 PMEdited
Tested with Everest vv0.0.0-a44f621 (0.9.0) version having multinamespace support
Install pg operator in a1 namespace
Create pg database
Install mongodb operator in a1 namespace
Create a mongodb database (here it selects pg database by default)
Install mysql operator in a1 namespace
Create a db, it displays mongodb as the selected database and not mysql as the default selected database
The issue is reproducible in 0.9.0 version.
, Please check this issue, thanks.

Filip Mikes January 23, 2024 at 11:20 AM
I wasn’t able to reproduce it. Can you please test it again? And if this happens again for you can you show me exactly how you did it? Thanks
I installed postgres operator and created a postgres db(2 nodes). Then installed mongodb operator and created a mongodb db(5 nodes). After this, installed mysql operator and when creating mysql db, the mongodb is selected automatically instead of mysql.
When Mongodb and Postgresql operators are installed, then Postgresql is chosen at first
If you create a mongodb database, and then create another database, then it selects Mongodb first
When all three operators, mysql, mongodb and postgres are installed, then Mysql is selected
Suggestion from :
I wouldn’t say this is a big deal but I would advise us to always have the first item as the default one when the user opens the modal.