Merge lp:~barryprice/charms/trusty/mysql/add-innodb_file_per_table into lp:charms/trusty/mysql

Proposed by Barry Price
Status: Merged
Merged at revision: 152
Proposed branch: lp:~barryprice/charms/trusty/mysql/add-innodb_file_per_table
Merge into: lp:charms/trusty/mysql
Diff against target: 14 lines (+2/-0)
1 file modified
hooks/config-changed (+2/-0)
To merge this branch: bzr merge lp:~barryprice/charms/trusty/mysql/add-innodb_file_per_table
Reviewer Review Type Date Requested Status
José Antonio Rey (community) Approve
Ryan Beisner (community) Approve
Review via email: mp+281398@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Barry Price (barryprice) wrote :

So this change would deviate from the current package defaults, but the charm already does this by setting non-default values for e.g. bind_address, skip-name-resolve etc.

n.b. Setting innodb_file_per_table is the new upstream default as of MySQL 5.6:

https://dev.mysql.com/doc/refman/5.6/en/innodb-multiple-tablespaces.html

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #15169 mysql for barryprice mp281398
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/15169/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #16248 mysql for barryprice mp281398
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/16248/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8444 mysql for barryprice mp281398
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/8444/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #15486 mysql for barryprice mp281398
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/15486/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8503 mysql for barryprice mp281398
    AMULET FAIL: amulet-test failed

AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.

Full amulet test output: http://paste.ubuntu.com/14407632/
Build: http://10.245.162.77:8080/job/charm_amulet_test/8503/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8704 mysql for barryprice mp281398
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/8704/

Revision history for this message
Ryan Beisner (1chb1n) wrote :

Thank you for your work on this. I've reviewed with peers in openstack engineering team, tested the charm upgrade story for an existing deployment (http://pastebin.ubuntu.com/14487765/). We think this is sane.

review: Approve
Revision history for this message
Ryan Beisner (1chb1n) wrote :

Also, the amulet tests are passing (http://pastebin.ubuntu.com/14487795/).

Note that amulet test failure #8503 was a network hiccup (false failure).

Revision history for this message
José Antonio Rey (jose) wrote :

Merging as per Ryan's comment.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/config-changed'
2--- hooks/config-changed 2015-03-04 14:10:30 +0000
3+++ hooks/config-changed 2015-12-30 02:25:41 +0000
4@@ -299,8 +299,10 @@
5 # * InnoDB
6 #
7 # InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
8+# We also set innodb_file_per_table to avoid having ibdata1 fill the disk.
9 # Read the manual for more InnoDB related options. There are many!
10 #
11+innodb_file_per_table
12 innodb_buffer_pool_size = %(innodb-buffer-pool-size)s
13 innodb_flush_log_at_trx_commit = %(innodb-flush-log-at-trx-commit)s
14 sync_binlog = %(sync-binlog)s

Subscribers

People subscribed via source and target branches

to all changes: