Differences between revisions 10 and 11
Revision 10 as of 2015-05-02 15:00:37
Size: 3089
Editor: ?OttoKekalainen
Revision 11 as of 2015-05-10 20:22:07
Size: 3154
Editor: ?OttoKekalainen
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:
Work in progress at https://github.com/ottok/galera-3 Work in progress at https://anonscm.debian.org/cgit/pkg-mysql/galera-3.git/ (mirror https://github.com/ottok/galera-3)

Galera is a clustering system. For details see http://galeracluster.com/


Current plan is to package one Galera package into Debian that can act as the WSREP provider for all MySQL forks that have a WSREP consumer.

Principal drivers are Otto Kekäläinen and James Page.

Binaries for public testing

The directory http://labs.seravo.fi/~otto/mariadb-repo/ (and galera-named subdirectories) is browseable and there you can find build logs and both binary and source packages. Build logs have the git hash appended so it is possible to track build logs per commit.

Latest test packages can be installed after adding the sources.list line corresponding to your distro:

  # Precise binaries widely compatible
  deb http://labs.seravo.fi/~otto/mariadb-repo/ galera-3-sid-amd64/
  deb http://labs.seravo.fi/~otto/mariadb-repo/ galera-3-sid-i386/

Building yourself

Work in progress at https://anonscm.debian.org/cgit/pkg-mysql/galera-3.git/ (mirror https://github.com/ottok/galera-3)

Use git-buildpackage to build.

Backwards compatibility

MariaDB Galera Server

..as installed from mariadb.org will pull in a package called 'galera' which has both the plugin and the daemon. The version string is '25.3.5-wheezy'.

Manually installing 'galera-3' or installing a new server package that depends on 'galera-3' should nicely break and replace the old 'galera' package and the version string of the new package is also for sure bigger.

Percona XtraDB Cluster

Current XtraDB Cluster package in Debian unstable and Ubuntu 14.10 is named 'percona-xtradb-cluster-galera-2.x' and the version string is '1:2.11.2675-1' (version before it was 175-2.1). At Percona.com the latest package is named 'percona-xtradb-cluster-galera-3.x' and has the version string '3.8.3390'.

Manually installing the new galera-3 package or upgrading to a newer Percona server that depends on the new galera-3 package should work nicely (as long as the server version/API dependencies match, but that is outside the scope of the galera-3 package itself).

The Percona Galera version has some patches that the upstream Galera has not included yet. For the time being the Percona server thus needs to keep a slightly different Galera binary, which will be called 'percona-galera-3'. The long term plan is to have one single 'galera-3' source package (and the binaries it creates) that would suite all downstream server variants.


  • Wait for Jessie to be released and then upload the Galera package into Debian unstable

How to contribute

Contributions are welcome! Just state your interest on the pkg-mysql-maint mailing list or send git pull requests directly.