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

MariaDB 10.1 support (default version) #866

Closed
macmladen opened this issue Feb 7, 2016 · 19 comments
Closed

MariaDB 10.1 support (default version) #866

macmladen opened this issue Feb 7, 2016 · 19 comments

Comments

@macmladen
Copy link

macmladen commented Feb 7, 2016

BOA in 2.4.7 uses Maria 5.5.47 release which is the latest release in 5.5 series.

As BOA 3.0.0 is postponed, maybe it could be considered to include latest MariaDB stable release and that is 10.1.11 released on 2016-01-29?

Maybe I am not aware of potential problems that brings, but it would be nice complement to Drupal 8 / PHP 7.0 upgrade?

@Pls
Copy link

Pls commented Feb 7, 2016

I'm pretty sure that 10.x is supported right now, it is documented here -

###----------------------------------------###

@macmladen
Copy link
Author

macmladen commented Feb 7, 2016

True, it is.

Is there any reason why 10.x is not set as default?

@omega8cc
Copy link
Owner

omega8cc commented Feb 10, 2016

Maybe we should switch to MariaDB 10.1 by default in BOA-3.0.0, so we could get rid of the separate Galera 10.0 and MariaDB 10.0 install modes. This could be another reason to release yet another 2.4.x before 3.0.0.

@omega8cc omega8cc changed the title Maria 10.x support MariaDB 10.1 support Feb 10, 2016
@omega8cc omega8cc added this to the 3.0.0 milestone Feb 10, 2016
@macmladen
Copy link
Author

macmladen commented Feb 10, 2016

I agree.

Probably it would be good idea to have just one big change per release with bug fixes so that big issues do not create complex interaction cases.

@omega8cc omega8cc modified the milestones: 3.0.0, 3.1.0 Feb 10, 2016
@pricejn2
Copy link
Contributor

pricejn2 commented Feb 10, 2016

+1 for moving to MariaDB 10.x as default database engine

@omega8cc omega8cc modified the milestones: 3.1.0, 3.2.0 Mar 28, 2016
@attiks
Copy link

attiks commented May 12, 2016

FYI, there seems to be a 'bug' in MariaDB, see https://www.drupal.org/node/2723605

@omega8cc
Copy link
Owner

omega8cc commented May 12, 2016

Thanks @attiks for the heads-up! The newer is not always better, apparently. We didn't even test 10.1 yet. It would be good to test if the problem is only 10.1 specific or maybe it affects also 10.0?

@omega8cc omega8cc modified the milestones: 3.x.0, 3.2.0 May 12, 2016
@colans
Copy link

colans commented Jul 23, 2016

We're got an issue in Aegir core that may be related: Install fails on MariaDB 10 without password (new default).

@omega8cc
Copy link
Owner

omega8cc commented Jul 25, 2016

@colans -- Maybe it's Xenial specific issue? We never experienced any issues with MariaDB 10.0 in BOA, but we use and recommend Debian, while Ubuntu is minimally supported, and we didn't add Xenial support, yet.

@colans
Copy link

colans commented Jul 25, 2016

Quite possibly.

@omega8cc omega8cc changed the title MariaDB 10.1 support MariaDB 10.1 (optional) support Aug 21, 2016
@omega8cc omega8cc modified the milestones: 3.2.0, 3.x.0 Aug 21, 2016
@omega8cc
Copy link
Owner

omega8cc commented Aug 21, 2016

MariaDB 10.0 will be default version used in BOA-3.2.x, so we could add 10.1 as an option, with caveats on possible issues.

@omega8cc omega8cc changed the title MariaDB 10.1 (optional) support MariaDB 10.1 (optional) support + 10.0 used by default Aug 21, 2016
@omega8cc
Copy link
Owner

omega8cc commented Aug 21, 2016

Note that we already force MariaDB 10.0 for a long time on Debian Jessie and Ubuntu Trusty.

@omega8cc
Copy link
Owner

omega8cc commented Aug 21, 2016

OK, so our initial investigation resulted with interesting findings. There are some important changes in MariaDB 10.1 which are not compatible with Aegir (Provision) and also with BOA specific code.

Namely, as listed in Upgrading from MariaDB 10.0 to 10.1, MariaDB 10.1 enforces sql_mode and sets default values which break the way GRANT is used in Aegir: NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTION

When you check what NO_AUTO_CREATE_USER means, MariaDB docs explain that:

If the NO_AUTO_CREATE_USER SQL_MODE is set, users can only be created with a CREATE USER statement. In this case GRANT will produce an error when the specified user does not exist.

Uh oh..

@omega8cc
Copy link
Owner

omega8cc commented Aug 21, 2016

The good news is that BOA already overrides this change with:

sql_mode = NO_ENGINE_SUBSTITUTION

But Aegir (vanilla) will have to force this to make it work with 10.1

@colans
Copy link

colans commented Aug 30, 2016

Has an Aegir core issue been opened for this? Looks like it's not the same problem as Install fails on MariaDB 10 without password (new default) because Ubuntu 10.04 (xenial) shipped with 10.0, not 10.1.

@omega8cc
Copy link
Owner

omega8cc commented Aug 31, 2016

@colans
Copy link

colans commented Aug 31, 2016

@omega8cc
Copy link
Owner

omega8cc commented Sep 21, 2016

MariaDB 10.0 is causing problems we didn't see before with 5.5, with random crashes, but so far only on legacy Debian Wheezy systems. We should just switch to 10.1, I think, plus re-introduce Percona support, so we could determine what may cause these problems, if we will be able to compare results.

@omega8cc omega8cc changed the title MariaDB 10.1 (optional) support + 10.0 used by default MariaDB 10.1 support (default version) Sep 21, 2016
@memtkmcc
Copy link
Collaborator

memtkmcc commented Sep 21, 2016

10.1 works just fine with BOA.

@omega8cc omega8cc modified the milestones: 3.2.0, 3.1.4 Dec 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants