Remove lp1366997-workaround config option

The percona-cluster packages have been fixed in the package
repositories and no longer need this option to work around the
duplicate primary key error that this worked around. This patch
removes this option.

Change-Id: I493c64c3167b51399484f6fec75f674bfe53e2fb
Related-Bug: #1366997
This commit is contained in:
Billy Olsen 2017-09-11 13:09:27 -07:00 committed by Felipe Reyes
parent d2487c4316
commit 7dc5fe5493
3 changed files with 0 additions and 16 deletions

View File

@ -177,13 +177,6 @@ options:
description: |
Default multicast port number that will be used to communicate between HA
Cluster nodes.
lp1366997-workaround:
type: boolean
default: False
description: |
Adds two config options (wsrep_drupal_282555_workaround and
wsrep_retry_autocommit) as a workaround for Percona Primary Key bug (see
LP 1366997). Only required for Trusty.
enable-binlogs:
type: boolean
default: False

View File

@ -198,7 +198,6 @@ def render_config(hosts=None):
'sst_password': sst_password(),
'innodb_file_per_table': config('innodb-file-per-table'),
'table_open_cache': config('table-open-cache'),
'lp1366997_workaround': config('lp1366997-workaround'),
'binlogs_path': config('binlogs-path'),
'enable_binlogs': config('enable-binlogs'),
'binlogs_max_size': config('binlogs-max-size'),

View File

@ -106,14 +106,6 @@ innodb_buffer_pool_size = {{ innodb_buffer_pool_size }}
sockopt=,pf=ip6
{% endif %}
{% if lp1366997_workaround -%}
# Adding workaround for bug:
# https://bugs.launchpad.net/charms/+source/percona-cluster/+bug/1366997
# Note that this should only be required for percona 5.5
wsrep_drupal_282555_workaround = ON
wsrep_retry_autocommit = 100
{% endif %}
!includedir /etc/mysql/conf.d/
{% if series_upgrade %}