6 Commits

Author SHA1 Message Date
Mark Burnett
de20cbb15d Use the standard Dockerhub MariaDB image
Addresses consistency issues that appear with autoincrement fields in
the existing chart, as demonstrated in [1].  It should allow automatic
recovery of 2 out of the 3 (default) cluster members.

It does not address automatic recovery of a complete shutdown of all
cluster nodes.

[1] https://review.openstack.org/#/c/465977/

Change-Id: I84c86e1862f03a6d381bf219b821ea3636049f0b
2017-05-25 08:56:35 -05:00
Chris Wedgwood
8b07ffa2d1 Simplify/lessen requirements for MariaDB
Change-Id: Ic0159fc38f9551c60ae588ab2d78944fb61239e2
2017-05-23 23:41:59 +00:00
Pete Birley
1f536fee87 MariaDB: Log and buffer pool default size reduction
This PS reduces the default log and buffer size.

Change-Id: If789064424bfbaba7a427f9bbfe6f3a64e954fdf
Closes-Bug: #1688058
2017-05-05 10:32:44 -05:00
Seungkyu Ahn
d4f7fa5775 Add galera sync method option
Galera has a copule of options to sync mariadb cluster.
Default value is mysqldump which is slow, except for small data-sets, but is the most tested option.
rsync option is much faster than mysqldump on large data-sets.
So add --wsrep_sst_method value.

Change-Id: Ide03801b2472fa3d4f76bbe32e75bf6e618ac7e1
2017-04-24 02:07:19 +09:00
Brandon B. Jozsa
a5c2e9d489 adding apache-lic header for mariadb 2017-02-03 10:24:31 -05:00
Alan Meadows
0ca1a7942e Refactor mariadb chart
This is a major refactor of the mariadb chart.  A few things
are accomplished:

* The chart template layout is updated to match our keystone
chart, providing a more structure to the chart.

* The chart was updated to leverage StatefulSets, which requires
Kubernetes 1.5, and helm 2.1.0.

* The bootstrapping process was completely overhauled to support
the unique constraints of statefulsets, namely that they come up
one by one, needing the previous to be in a ready state before
the next is provisioned.

* The references to {{ .IP }} we removed and replaced with POD_IP
environmental passing and address binding was fixed in several
places for wsrep functionality.  This may explain several oddities
with the previous setup causing mysterious and intermittent
database consistency issues.
2016-12-15 17:20:47 -08:00