Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default MariaDB version to 10.6, resolves lando/mariadb#25. #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tormi
Copy link

@tormi tormi commented Aug 2, 2023

Resolves #25.

@netlify
Copy link

netlify bot commented Aug 2, 2023

👷 Deploy request for lando-mariadb pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit ea83676

@tormi tormi changed the title Updade default MariaDB version to 10.6, resolves lando/mariadb#25. Update default MariaDB version to 10.6, resolves lando/mariadb#25. Aug 2, 2023
@tormi tormi force-pushed the feature/25-upgrade-default-mariadb branch from e39aac7 to ea83676 Compare August 2, 2023 07:23
@@ -7,9 +7,9 @@ const _ = require('lodash');
module.exports = {
name: 'mariadb',
config: {
version: '10.3',
supported: ['10.6', '10.5', '10.4', '10.3', '10.2', '10.1'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Existing versions should not be removed from the supported array. If you remove this, for people who use these versions, Lando will result to ERROR ==> mariadb version 10.2 is not supported.

Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaszarobert Tormi put versions 10.3 and below into the legacy array, so it'd just flash a warning that users are on old versions.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@reynoldsalec: We would want to keep 10.3 in the supported array and remove from the legacy array, right?

@reynoldsalec
Copy link
Sponsor Member

@kaszarobert I think the reason I didn't merge this back when @tormi suggested it was we were being hesitant about updating the version. Updating that default version will cause any project with a type: mariadb service and no specified version to get updated to 10.6, and I wasn't sure if that would present a problem with existing DB data (since the volume persists).

I'm guessing that the update from 10.3 -> 10.6 doesn't introduce incompatibilities, if one of you could confirm that, we should definitely bump the default version.

I think this is the big reason Pirog is probably going to dump default versioning in Lando 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade the default version of MariaDB to a maintained version
4 participants