charm-mysql-innodb-cluster:stable/20.08

Last commit made on 2020-08-13
Get this branch:
git clone -b stable/20.08 https://git.launchpad.net/charm-mysql-innodb-cluster

Branch merges

Branch information

Name:
stable/20.08
Repository:
lp:charm-mysql-innodb-cluster

Recent commits

4a9849a... by Alex Kavanagh

Updates for stable branch creation

Set default branch for git review/gerrit.

Switch tests to stable.

Switch to using stable charm-helpers branch.

Switch to using stable charm.openstack branch.

Change-Id: Id0ea4b5e63d1426455c198f7e641002907219ff7

b45f5b0... by Peter Matulis

Fix code block and move section

Change-Id: I272144ab7bab470ba5e627eb67451c449ce42a82

da0896f... by Zuul <email address hidden>

Merge "MySQL TLS documentation"

b7fe036... by David Ames

MySQL TLS documentation

Change-Id: I989d6c8c675ec8e3402e62b4b05ed78f3b31edba

4f27710... by Alex Kavanagh

Release sync for 20.08

- Classic charms: sync charm-helpers.
- Classic ceph based charms: also sync charms.ceph
- Reactive charms: trigger a rebuild
- sync tox.ini
- sync requirements.txt and test-requirements.txt

Change-Id: Ia56ebcff258e621fd37d3f0647142c89d0f34048

5eb4379... by Dmitrii Shcherbakov

Set expel timeout to 5 seconds

Focal has MySQL version 8.0.20-0ubuntu0.20.04.1 which sets
group_replication_member_expel_timeout to 0 by default [0]. As a result,
cluster members are expelled from the cluster 5 seconds after the loss
of connectivity.

This proves to be too short for our CI and some other environments in
the wild.

MySQL documentation for this option suggests that 5 or even 10 seconds
may be too low for congested or overcommitted environments which happens
to be the case. As of MySQL 8.0.21 the default for
group_replication_member_expel_timeout is set to 5 seconds.

[0] https://dev.mysql.com/doc/refman/8.0/en/group-replication-options.html#sysvar_group_replication_member_expel_timeout
[1] https://dev.mysql.com/doc/refman/8.0/en/group-replication-responses-failure-expel.html

Change-Id: Ia33c6263e616657d21b41fcf1a8abfb34e6cb58d
Partial-Bug: #1882205

6d979f9... by Zuul <email address hidden>

Merge "Reuse database connections."

ecb0062... by Liam Young

Reuse database connections.

This PR should only speed up charm hook execution be reusing database
connections. Tested with ~35 client units connected to the shared-db
relation and execution time of db_router_respond dripped from >5mins
to ~1min.

Tested with https://github.com/juju/charm-helpers/pull/478

Change-Id: I9cb4937207fcd0b8045b8b67f63c5e9397decfb4

5fa577e... by Aurelien Lourot

Add Groovy test bundles

Closes-Bug: #1885935
Change-Id: Iac4ec3a98c66164d3d6e254ebe41e46e4e8ba5df

00f6307... by David Ames

Enable TLS tests on full bundle

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/357
Change-Id: I7ad6050283e5bf0028feeb75256c24d2cc010956