Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 476868

Summary: new ebuild for Galera Cluster for mariadb/mysql
Product: Gentoo Linux Reporter: Steve Yin <steve>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for galera-23.2.6
/etc/init.d/garbd config file
init script for garbd

Description Steve Yin 2013-07-15 03:12:15 UTC
as many distros are planning to switch to mariadb, I think gentoo should also provide more mariadb's packages to user to choose thier mysql version.

http://www.codership.com/wiki/doku.php
https://launchpad.net/galera/+download

Galera is a wsrep service provider in a form of dlopenable library. It provides synchronous replication guarantees and supports multi-master replication. Among other things Galera is capable of unconstrained parallel applying AKA “parallel replication”, multicast replication and automatic node provisioning. Galera primary focus is data consistency: transaction is either applied on every node or not at all.

so this is the only cluster solution for mariadb and mysql. 

Reproducible: Always
Comment 1 Steve Yin 2013-07-15 03:13:13 UTC
Created attachment 353302 [details]
ebuild for galera-23.2.6
Comment 2 Steve Yin 2013-07-15 03:13:40 UTC
Created attachment 353304 [details]
/etc/init.d/garbd config file
Comment 3 Steve Yin 2013-07-15 03:14:41 UTC
Created attachment 353306 [details]
init script for garbd
Comment 4 Steve Yin 2013-07-15 03:20:49 UTC
I've added ebuild and necessary files for building the galera provider with the mariadb-galera.

And I've found the /usr/portage/eclass/mysql-v2.eclass file already have the support for mariaddb-galera but there is no actual ebuild for this. and I've just tested copy the dev-db/mariadb/mariadb-5.5.31.ebuild  to dev-db/mariadb-galera/mariadb-galera-5.5.29.ebuild and build are successfully.

also I've tested mariadb-galera + galera to build a working database cluster without any problem and the database are also synced correctly.


So I'm requesting to add these two packages in portage for users need the real database cluster solution.

this is a opensource solution, so I think gentoo have no reason that don't support this.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-15 10:53:12 UTC

*** This bug has been marked as a duplicate of bug 466706 ***