From Fedora Project Wiki
(There is no alpha)
(add URL to upstream docuemntation)
 
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
== Summary ==
== Summary ==
Update of MariaDB ('mariadb' package) in Fedora from 10.3 to 10.4 version.
Update of MariaDB ('mariadb' package) in Fedora from 10.3 to 10.4 version.
[[Category:Package MariaDB]]


== Owner ==
== Owner ==
Line 20: Line 21:
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
-->
-->
* Tracker bug:  
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1756468 #1756468]
* Release Notes tracking:  
* Release Notes tracking: [https://pagure.io/fedora-docs/release-notes/issue/391 #391]
* Release Engineering ticket: https://pagure.io/releng/issue/8783
* Release Engineering ticket: https://pagure.io/releng/issue/8783


Line 63: Line 64:


The MariaDB client library is compatible, so the shouldn't be any issues and / or need for rebuild of dependent packages.
The MariaDB client library is compatible, so the shouldn't be any issues and / or need for rebuild of dependent packages.
MariaDB 10.4 '''defaults''' to using '''unix_socket password authentication plugin'''.
The old behaviour can still be invoked in several ways, so it shouldn't be an issue for those who can't adapt to it just yet.
<br />https://mariadb.com/kb/en/authentication-from-mariadb-104/
Galera package bumped version from 25.3 to 25.4 which introduces bigger changes. However since no other project in Fedora than MariaDB use Galera, I don't expect any issue here.
Galera package bumped version from 25.3 to 25.4 which introduces bigger changes. However since no other project in Fedora than MariaDB use Galera, I don't expect any issue here.
==='''UPDATE (02/2020)'''===
MariaDB 10.4.12 is now available in Fedora Rawhide, 32 and as a module for Fedora 30 and later.
Currently, there is a '''known issue''', affecting user logins to the DB: [https://bugzilla.redhat.com/show_bug.cgi?id=1796106 RHBZ#1796106].
We are working to resolve this issue before F32 will be released.
==='''UPDATE (03/2020)'''===
The issue above was '''resolved'''. Packages containing the fix are now in F32 stable repositories.


== How To Test ==
== How To Test ==
Line 112: Line 127:
<!-- The Wrangler announces the Change to the devel-announce list and changes the category to Category:ChangeAnnounced (no action required) -->  
<!-- The Wrangler announces the Change to the devel-announce list and changes the category to Category:ChangeAnnounced (no action required) -->  
<!-- After review, the Wrangler will move your page to Category:ChangeReadyForFesco... if it still needs more work it will move back to Category:ChangePageIncomplete-->
<!-- After review, the Wrangler will move your page to Category:ChangeReadyForFesco... if it still needs more work it will move back to Category:ChangePageIncomplete-->
[[Category:ChangeAnnounced]]
[[Category:ChangeAcceptedF32]]


<!-- Select proper category, default is Self Contained Change -->
<!-- Select proper category, default is Self Contained Change -->
[[Category:SelfContainedChange]]
[[Category:SelfContainedChange]]
<!-- [[Category:SystemWideChange]] -->
<!-- [[Category:SystemWideChange]] -->

Latest revision as of 15:25, 29 March 2020

MariaDB 10.4

Summary

Update of MariaDB ('mariadb' package) in Fedora from 10.3 to 10.4 version.

Owner

Current status

Detailed Description

Update of MariaDB package in Fedora from 10.3 version to 10.4 version.

Benefit to Fedora

I'm cooperating with the upstream to bring the latest stable software to Fedora users.

10.4 series introduces number of enhancements, which cannot be found in previous series. Apart from that, MariaDB Galera Cluster has been significantly reworked and enhanced. (galera 3 updated to galera 4)

Scope

  • Proposal owners:
    • Prepare MariaDB 10.4 as a module for Rawhide and atleast one stable Fedora release (done)
    • Prepare MariaDB 10.3 as a module for Rawhide, so there would be a failover in case of problems (done)
    • Release MariaDB 10.4 to Rawhide (blocked by #1724283; solving with upstream)
    • Check software that requires or depends on 'mariadb' or 'galera' package for incompatibilities
    • Gather user input on the changes between MariaDB 10.3 and 10.4
  • Other developers: N/A (not a System Wide Change)
  • Release engineering: (a check of an impact with Release Engineering is needed)
  • Policies and guidelines: N/A (not a System Wide Change)
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

The MariaDB client library is compatible, so the shouldn't be any issues and / or need for rebuild of dependent packages.

MariaDB 10.4 defaults to using unix_socket password authentication plugin. The old behaviour can still be invoked in several ways, so it shouldn't be an issue for those who can't adapt to it just yet.
https://mariadb.com/kb/en/authentication-from-mariadb-104/

Galera package bumped version from 25.3 to 25.4 which introduces bigger changes. However since no other project in Fedora than MariaDB use Galera, I don't expect any issue here.

UPDATE (02/2020)

MariaDB 10.4.12 is now available in Fedora Rawhide, 32 and as a module for Fedora 30 and later. Currently, there is a known issue, affecting user logins to the DB: RHBZ#1796106. We are working to resolve this issue before F32 will be released.

UPDATE (03/2020)

The issue above was resolved. Packages containing the fix are now in F32 stable repositories.


How To Test

Usual testing as when upgrading between major MariaDB versions.

Test that all other software runs well with MariaDB 10.4. Report any issues, so I can reach the different upstreams and check if they plan update their software to support MariaDB 10.4 and when.

User Experience

The users will have to upgrade their databases the same way as between major MariaDB versions.

If the users want to stick with MariaDB for a little longer, I provide MariaDB 10.3 module. If the users want to test it beforehand, I provide MariaDB 10.4 module.

Dependencies

There should be absolute minimum amountof packages, that use MariaDB as a BuildRequires. Since the separation of MariaDB client library, only packages that build server plugins may use MariaDB as a BuildRequires.

Since the client library ('mariadb-connector-c') is not changing, dependent software should work fine.

Contingency Plan

Modules will provide the functional version of MariaDB 10.3, available to all users.

  • Contingency mechanism: Fedora Modules available
  • Contingency deadline: beta freeze
  • Blocks release? N/A (not a System Wide Change)
  • Blocks product? N/A (not a System Wide Change)

Documentation

Upgrade startegy: https://mariadb.com/kb/en/library/upgrading-from-mariadb-103-to-mariadb-104/

Upgrading and incompatibilities: https://mariadb.com/kb/en/library/upgrading-from-mariadb-103-to-mariadb-104/#incompatible-changes-between-103-and-104

Release Notes

Release notes for each release: https://mariadb.com/kb/en/library/release-notes-mariadb-104-series/

Overall overview of the changes and improvements: https://mariadb.com/kb/en/library/changes-improvements-in-mariadb-104/