wodby / mariadb

MariaDB docker container image
https://wodby.com/stacks/mariadb
GNU General Public License v2.0
49 stars 31 forks source link

Add Galera WSREP Provider #28

Closed tomalok closed 4 years ago

tomalok commented 4 years ago
csandanov commented 4 years ago

Thanks. A couple things:

tomalok commented 4 years ago
csandanov commented 4 years ago

Yes, could you please rollback the Alpine version, we will perform the update separately.

Also, it's not really clear how to use galera with this image, if you look up helm chart for galera, they have a specific binary that runs in the entrypoint and searching for other galera master instances in the network and connects them all together (is it garbd?). If we want people to run galera with this image we should document it in README.

tomalok commented 4 years ago

Okay, things for to do, off the top of my head yet...

I'm only seeing linux/amd64 OS/arch values for wodby/mariadb, so it should not be a blocker that the musl patches don't work (yet) for non-x86 arch.

tomalok commented 4 years ago

Ran into some complications building Galera with MariaDB versions prior to 10.4... Dropping that item off the to-do list.

tomalok commented 4 years ago
tomalok commented 4 years ago

The latest commit adds a runtime dependency for garbd, and fleshes out the rest of the Galera-related documentation in the README.

@csandanov - unless there's anything else you think needs tweaking, I think this PR is ready.

csandanov commented 4 years ago

Thank you, looks good. We'll have to add tests with wsrep enabled at some point.