[UI] Mongodb versions are not sorted and some versions are skipped
Description
Tested with Everest v1.3.0-rc1 version.
Create a mongodb database. In the Basic information, while choosing a db version, the 7.0.12-7 appears before 7.0.8-5. The 6.0.15-12, 6.0.16-13 versions appear before 6.0.4-3.
The versions should be sorted so that the later versions appear after the earlier version otherwise it is confusing for the user to know the latest version for upgrading the mongodb database.
Create a mongodb database. Now the mongodb versions are sorted in descending order on the Basic information page
Manish Chawla October 24, 2024 at 9:28 AM
Discussed in defect triage meeting, the scope of this issue will be to fix the sorting of the mongodb versions.
Slava Sarzhan October 22, 2024 at 11:59 AM
we do not have 7.0.11.-6 in list of supported versions. When we release a new, e.g., psmdb operator, we just test it with the latest psmdb version. So, we can have a situation in which PSMDBO 1.14.0 was tested with PSMDB 7.0.8, but the next version of the operator will be tested with PSMDB 7.0.11 only.
Mayank Shah October 22, 2024 at 9:55 AM
for example the version 7.0.11-6 is not available
If it is not available, that means that the PSMDB operator does not support it. We get our list of supported engine versions from the VersionService:
(it does not list 7.0.11). So IMO this is expected.
If you want to know why it is not supported, maybe or can answer…
Tested with Everest v1.3.0-rc1 version.
Create a mongodb database. In the Basic information, while choosing a db version, the 7.0.12-7 appears before 7.0.8-5. The 6.0.15-12, 6.0.16-13 versions appear before 6.0.4-3.
The versions should be sorted so that the later versions appear after the earlier version otherwise it is confusing for the user to know the latest version for upgrading the mongodb database.
Also some mongodb versions are not available, for example the version 7.0.11-6 is not available though we have 7.0.8-5 and 7.0.12-7. Please refer to Percona Server for MongoDB 7.0, Percona Server for MongoDB 6.0 for the supported versions.