Merge lp:~hrvojem/percona-xtradb-cluster/bug1319708-5.6 into lp:percona-xtradb-cluster

Proposed by Hrvoje Matijakovic
Status: Merged
Approved by: Raghavendra D Prabhu
Approved revision: no longer in the source branch.
Merge reported by: Hrvoje Matijakovic
Merged at revision: not available
Proposed branch: lp:~hrvojem/percona-xtradb-cluster/bug1319708-5.6
Merge into: lp:percona-xtradb-cluster
Diff against target: 386 lines (+181/-19)
13 files modified
.bzrignore (+1/-0)
doc-pxc/source/conf.py (+3/-4)
doc-pxc/source/glossary.rst (+1/-1)
doc-pxc/source/howtos/virt_sandbox.rst (+1/-1)
doc-pxc/source/installation/apt_repo.rst (+17/-6)
doc-pxc/source/intro.rst (+1/-1)
doc-pxc/source/manual/state_snapshot_transfer.rst (+1/-1)
doc-pxc/source/manual/xtrabackup_sst.rst (+2/-2)
doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.19-25.6.rst (+106/-0)
doc-pxc/source/release-notes/release-notes_index.rst (+1/-0)
doc-pxc/source/wsrep-provider-index.rst (+10/-0)
doc-pxc/source/wsrep-status-index.rst (+4/-0)
doc-pxc/source/wsrep-system-index.rst (+33/-3)
To merge this branch: bzr merge lp:~hrvojem/percona-xtradb-cluster/bug1319708-5.6
Reviewer Review Type Date Requested Status
Raghavendra D Prabhu (community) Approve
Review via email: mp+222237@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

In-line comments added.

review: Needs Fixing
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

lp:1280896 and lp:1260713 are two important bugs to be added as they are fixed.

lp:1260713 specifically introduces two new variables - wsrep_slave_FK_checks and wsrep_slave_UK_checks which are set to TRUE and FALSE respectively by default. They control whether FK and UK checking is done for applier threads.

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Noted in in-line diff comments. Also, note that new variables added will need to be documented under variables.

review: Needs Fixing
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Added inline diff comments.

review: Needs Fixing
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Looks good.

review: Approve
777. By Hrvoje Matijakovic

- Bug fix for Bug #1319708
- Percona-XtraDB-Cluster-5.6.19-25.6 release notes

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '.bzrignore'
--- .bzrignore 2014-07-02 10:52:20 +0000
+++ .bzrignore 2014-07-18 11:34:40 +0000
@@ -3147,3 +3147,4 @@
3147storage/perfschema/gen_pfs_lex_token3147storage/perfschema/gen_pfs_lex_token
3148sql/share/bulgarian3148sql/share/bulgarian
3149doc/build3149doc/build
3150doc-pxc/build/
31503151
=== modified file 'doc-pxc/source/conf.py'
--- doc-pxc/source/conf.py 2014-03-20 09:43:39 +0000
+++ doc-pxc/source/conf.py 2014-07-18 11:34:40 +0000
@@ -53,9 +53,9 @@
53# built documents.53# built documents.
54#54#
55# The short X.Y version.55# The short X.Y version.
56version = '5.6.15'56version = '5.6.19'
57# The full version, including alpha/beta/rc tags.57# The full version, including alpha/beta/rc tags.
58release = '5.6.15-25.5'58release = '5.6.19-25.6'
5959
60# The language for content autogenerated by Sphinx. Refer to documentation60# The language for content autogenerated by Sphinx. Refer to documentation
61# for a list of supported languages.61# for a list of supported languages.
@@ -136,8 +136,6 @@
136136
137.. |Drizzle| replace:: *Drizzle*137.. |Drizzle| replace:: *Drizzle*
138138
139.. |MariaDB| replace:: *MariaDB*
140
141.. |tar4ibd| replace:: :program:`tar4ibd`139.. |tar4ibd| replace:: :program:`tar4ibd`
142140
143.. |tar| replace:: :program:`tar`141.. |tar| replace:: :program:`tar`
@@ -146,6 +144,7 @@
146144
147extlinks = {'bug': ('https://bugs.launchpad.net/percona-xtradb-cluster/+bug/%s',145extlinks = {'bug': ('https://bugs.launchpad.net/percona-xtradb-cluster/+bug/%s',
148 '#'), 'mysqlbug': ('http://bugs.mysql.com/bug.php?id=%s',146 '#'), 'mysqlbug': ('http://bugs.mysql.com/bug.php?id=%s',
147 '#'), 'githubbug': ('https://github.com/codership/galera/issues/%s',
149 '#')}148 '#')}
150149
151# A list of ignored prefixes for module index sorting.150# A list of ignored prefixes for module index sorting.
152151
=== modified file 'doc-pxc/source/glossary.rst'
--- doc-pxc/source/glossary.rst 2013-09-05 13:37:01 +0000
+++ doc-pxc/source/glossary.rst 2014-07-18 11:34:40 +0000
@@ -32,7 +32,7 @@
32 *Percona XtraBackup* is an open-source hot backup utility for |MySQL| - based servers that doesn’t lock your database during the backup.32 *Percona XtraBackup* is an open-source hot backup utility for |MySQL| - based servers that doesn’t lock your database during the backup.
3333
34 XtraDB34 XtraDB
35 *Percona XtraDB* is an enhanced version of the InnoDB storage engine, designed to better scale on modern hardware, and including a variety of other features useful in high performance environments. It is fully backwards compatible, and so can be used as a drop-in replacement for standard InnoDB. More information `here <http://www.percona.com/docs/wiki/Percona-XtraDB:start>`_ .35 *Percona XtraDB* is an enhanced version of the InnoDB storage engine, designed to better scale on modern hardware, and including a variety of other features useful in high performance environments. It is fully backwards compatible, and so can be used as a drop-in replacement for standard InnoDB. More information `here <http://www.percona.com/doc/percona-server/5.5/percona_xtradb.html>`_ .
3636
37 XtraDB Cluster37 XtraDB Cluster
38 *Percona XtraDB Cluster* is a high availability solution for MySQL.38 *Percona XtraDB Cluster* is a high availability solution for MySQL.
3939
=== modified file 'doc-pxc/source/howtos/virt_sandbox.rst'
--- doc-pxc/source/howtos/virt_sandbox.rst 2013-09-05 13:37:01 +0000
+++ doc-pxc/source/howtos/virt_sandbox.rst 2014-07-18 11:34:40 +0000
@@ -7,7 +7,7 @@
77
8The client node will have HAProxy installed and it will redirect requests to |PXC| nodes. This approach works well in real-world scenarios too. Running HAProxy on the application servers instead of having them as dedicated entities gives you benefits like no need for an extra network roundtrip, because loadbalancer and scalability of |PXC|'s load balancing layer scales simply with application servers.8The client node will have HAProxy installed and it will redirect requests to |PXC| nodes. This approach works well in real-world scenarios too. Running HAProxy on the application servers instead of having them as dedicated entities gives you benefits like no need for an extra network roundtrip, because loadbalancer and scalability of |PXC|'s load balancing layer scales simply with application servers.
99
10We'll use `Percona <http://www.percona.com/docs/wiki/repositories:yum>`_ and `EPEL <http://fedoraproject.org/wiki/EPEL>`_ repositories for software installation.10We'll use `Percona <http://www.percona.com/doc/percona-xtradb-cluster/5.6/installation/yum_repo.html>`_ and `EPEL <http://fedoraproject.org/wiki/EPEL>`_ repositories for software installation.
1111
12After configuring the repositories you'll be able to install software that will be used. First, install |PXC| on the database nodes. ::12After configuring the repositories you'll be able to install software that will be used. First, install |PXC| on the database nodes. ::
1313
1414
=== modified file 'doc-pxc/source/installation/apt_repo.rst'
--- doc-pxc/source/installation/apt_repo.rst 2014-01-29 15:10:12 +0000
+++ doc-pxc/source/installation/apt_repo.rst 2014-07-18 11:34:40 +0000
@@ -37,13 +37,12 @@
3737
38 * 10.04LTS lucid38 * 10.04LTS lucid
39 * 12.04LTS precise39 * 12.04LTS precise
40 * 12.10 quantal
41 * 13.04 raring
42 * 13.10 saucy40 * 13.10 saucy
4341 * 14.04LTS trusty
4442
45Install XtraDB Cluster43
46=======================44Install Percona XtraDB Cluster
45==============================
4746
48Make sure to remove existing |Percona XtraDB Cluster| 5.5 and |Percona Server| 5.5/5.6 packages before proceeding.47Make sure to remove existing |Percona XtraDB Cluster| 5.5 and |Percona Server| 5.5/5.6 packages before proceeding.
4948
@@ -64,3 +63,15 @@
6463
65 deb http://repo.percona.com/apt VERSION main experimental64 deb http://repo.percona.com/apt VERSION main experimental
66 deb-src http://repo.percona.com/apt VERSION main experimental65 deb-src http://repo.percona.com/apt VERSION main experimental
66
67Apt-Pinning the packages
68========================
69
70In some cases you might need to "pin" the selected packages to avoid the upgrades from the distribution repositories. You'll need to make a new file :file:`/etc/apt/preferences.d/00percona.pref` and add the following lines in it: ::
71
72 Package: *
73 Pin: release o=Percona Development Team
74 Pin-Priority: 1001
75
76For more information about the pinning you can check the official `debian wiki <http://wiki.debian.org/AptPreferences>`_.
77
6778
=== modified file 'doc-pxc/source/intro.rst'
--- doc-pxc/source/intro.rst 2014-03-20 09:43:39 +0000
+++ doc-pxc/source/intro.rst 2014-07-18 11:34:40 +0000
@@ -54,7 +54,7 @@
54It uses the `Galera library <https://launchpad.net/galera>`_, version 3.x, 54It uses the `Galera library <https://launchpad.net/galera>`_, version 3.x,
55a generic Synchronous Multi-Master replication plugin for transactional applications. 55a generic Synchronous Multi-Master replication plugin for transactional applications.
5656
57Galera library is developed by `Codership Oy <http://www.codership.com/>`_.57Galera library is developed by `Codership Oy <http://www.galeracluster.com/>`_.
5858
59Galera 3.x supports such new features as:59Galera 3.x supports such new features as:
60 * Incremental State Transfer (|IST|), especially useful for WAN deployments,60 * Incremental State Transfer (|IST|), especially useful for WAN deployments,
6161
=== modified file 'doc-pxc/source/manual/state_snapshot_transfer.rst'
--- doc-pxc/source/manual/state_snapshot_transfer.rst 2014-01-30 13:56:19 +0000
+++ doc-pxc/source/manual/state_snapshot_transfer.rst 2014-07-18 11:34:40 +0000
@@ -39,5 +39,5 @@
39Other Reading39Other Reading
40=============40=============
4141
42* `SST Methods for MySQL <http://www.codership.com/wiki/doku.php?id=sst_mysql>`_42* `SST Methods for MySQL <http://galeracluster.com/documentation-webpages/statetransfer.html#state-snapshot-transfer-sst>`_
43* :ref:`Xtrabackup SST configuration<xtrabackup_sst>`43* :ref:`Xtrabackup SST configuration<xtrabackup_sst>`
4444
=== modified file 'doc-pxc/source/manual/xtrabackup_sst.rst'
--- doc-pxc/source/manual/xtrabackup_sst.rst 2014-03-20 13:08:06 +0000
+++ doc-pxc/source/manual/xtrabackup_sst.rst 2014-07-18 11:34:40 +0000
@@ -79,7 +79,7 @@
7979
80 * OpenSSL based encryption with ``encrypt=2``. Socat must be built with openSSL for encryption: ``socat -V | grep OPENSSL``.80 * OpenSSL based encryption with ``encrypt=2``. Socat must be built with openSSL for encryption: ``socat -V | grep OPENSSL``.
8181
82 * Support for SSL encryption for just the key and crt files as implemented in `Galera <http://www.codership.com/wiki/doku.php?id=ssl_support>`_ can be enabled with ``encrypt=3`` option. Information on this option can be found :ref:`here <galera_sst_encryption>`.82 * Support for SSL encryption for just the key and crt files as implemented in `Galera <http://galeracluster.com/documentation-webpages/ssl.html?highlight=ssl#enabling-ssl>`_ can be enabled with ``encrypt=3`` option. Information on this option can be found :ref:`here <galera_sst_encryption>`.
8383
84Refer to this :ref:`document <xtrabackup_sst_encryption>` when enabling with ``encrypt=1``.84Refer to this :ref:`document <xtrabackup_sst_encryption>` when enabling with ``encrypt=1``.
8585
@@ -215,7 +215,7 @@
215Galera compatible encryption215Galera compatible encryption
216----------------------------216----------------------------
217217
218Support for SSL encryption for just the key and crt files as implemented in `Galera <http://www.codership.com/wiki/doku.php?id=ssl_support>`_ can be enabled with ``encrypt=3`` option. This has been implemented in :rn:`5.5.34-23.7.6` for compatibility with Galera. **NOTE**: This option does not provide certificate validation. In order to work correctly paths to the key and cert files need to be specified as well, like: ::218Support for SSL encryption for just the key and crt files as implemented in `Galera <http://galeracluster.com/documentation-webpages/ssl.html?highlight=ssl#enabling-ssl>`_ can be enabled with ``encrypt=3`` option. This has been implemented in :rn:`5.5.34-23.7.6` for compatibility with Galera. **NOTE**: This option does not provide certificate validation. In order to work correctly paths to the key and cert files need to be specified as well, like: ::
219219
220 [sst] 220 [sst]
221 encrypt=3221 encrypt=3
222222
=== added file 'doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.19-25.6.rst'
--- doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.19-25.6.rst 1970-01-01 00:00:00 +0000
+++ doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.19-25.6.rst 2014-07-18 11:34:40 +0000
@@ -0,0 +1,106 @@
1.. rn:: 5.6.17-25.6
2
3======================================
4 |Percona XtraDB Cluster| 5.6.19-25.6
5======================================
6
7Percona is glad to announce the release of |Percona XtraDB Cluster| 5.6 on July 21st 2014. Binaries are available from `downloads area <http://www.percona.com/downloads/Percona-XtraDB-Cluster-56/release-5.6.19-25.6/>`_ or from our :doc:`software repositories </installation>`.
8
9Based on `Percona Server 5.6.19-67.0 <http://www.percona.com/doc/percona-server/5.6/release-notes/Percona-Server-5.6.19-67.0.html>`_ including all the bug fixes in it, `Galera Replicator 3.6 <https://github.com/codership/galera/issues?milestone=1&page=1&state=closed>`_ and on `Codership wsrep API 25.6 <https://launchpad.net/wsrep-group/+milestone/5.6.19-25.6>`_ is now the current **General Availability** release. All of |Percona|'s software is open-source and free, all the details of the release can be found in the `5.6.19-25.6 milestone <https://launchpad.net/percona-xtradb-cluster/+milestone/5.6.19-25.6>`_ at Launchpad.
10
11New Features
12============
13
14 During joiner joining the group, state message exchange provides us with ``gcache seqno limits``. That info is now used to choose a donor through IST first, if not possible, only then SST is attempted. :variable:`wsrep_sst_donor` is also honored here. This is also segment aware. (:bug:`1252461`)
15
16 Asynchronous replication slave thread is stopped when the node tries to apply next replication event while the node is in non-primary state. But it would then remain stopped after node successfully re-joined the cluster. A new variable :variable:`wsrep_restart_slave` has been implemented, which controls if |MySQL| slave should be restarted automatically when the node joins back to the cluster. (:bug:`1288479`)
17
18 Handling install message and install state message processing has been improved to make group forming more stable in case many nodes are joining the cluster. (:githubbug:`14`)
19
20 |Percona XtraDB Cluster| now supports storing the Primary Component state to disk by setting the :variable:`pc.recovery` variable to ``true``. The Primary Component can then recover automatically when all nodes that were part of the last saved state reestablish communications with each other. This feature can be used for automatic recovery from full cluster crashes, such as in the case of a data center power outage and graceful full cluster restarts without the need for explicitly bootstrapping a new Primary Component. (:githubbug:`10`)
21
22 New :variable:`wsrep_evs_repl_latency` status variable has been implemented which provides the group communication replication latency information. (:githubbug:`15`)
23
24 Node consistency issues with foreign keys have been fixed. This fix introduces two new variables: :variable:`wsrep_slave_FK_checks` and :variable:`wsrep_slave_UK_checks`. These variables are set to ``TRUE`` and ``FALSE`` respectively by default. They control whether Foreign Key and Unique Key checking is done for applier threads. (:bug:`1260713`).
25
26Bugs fixed
27==========
28
29 Fixed the race condition in Foreign Key processing that could cause assertion. Bug fixed :bug:`1342959`.
30
31 The restart sequence in ``scripts/mysql.server`` would fail to capture and return if the start call failed to start the server, so a restart could occur that failed upon start-up, and the script would still return ``0`` as if it worked without any issues. Bug fixed :bug:`1339894`.
32
33 Updating a unique key value could cause server hang if slave node has enabled parallel slaves. Bug fixed :bug:`1280896`.
34
35 |Percona XtraDB Cluster| has implemented threadpool scheduling fixes. Bug fixed :bug:`1333348`.
36
37 ``garbd`` was returning incorrect return code, ie. when ``garbd`` was already started, return code was ``0``. Bug fixed :bug:`1308103`.
38
39 :variable:`wsrep_sst_rsync` would silently fail on joiner when ``rsync`` server port was already taken. Bug fixed :bug:`1099783`.
40
41 Example ``wsrep_notify`` script failed on node shutdown. Bug fixed :bug:`1132955`.
42
43 When :variable:`gmcast.listen_addr` was configured to a certain address, local connection point for outgoing connections was not bound to listen address. This would happen if OS has multiple interfaces with IP addresses in the same subnet, it may happen that OS would pick wrong IP for local connection point and other nodes would see connections originating from IP address which was not listened to. Bug fixed :bug:`1240964`.
44
45 Issue with re-setting galera provider (in :variable:`wsrep_provider_options`) has been fixed. Bug fixed :bug:`1260283`.
46
47 Variable :variable:`wsrep_provider_options` couldn't be set in runtime if no provider was loaded. Bug fixed :bug:`1260290`.
48
49 |Percona XtraDB Cluster| couldn't be built with *Bison* 3.0. Bug fixed :bug:`1262439`.
50
51 ``mysqld`` wasn't handling exceeding max writeset size wsrep error correctly. Bug fixed :bug:`1270920`.
52
53 When ``FLUSH TABLES WITH READ LOCK`` was used on a node with :variable:`wsrep_causal_reads` set to ``1`` while there was a ``DML`` on other nodes then, subsequent SELECTs/SHOW STATUS didn't hang earlier providing non-causal output, that has been fixed here. Bug fixed :bug:`1271177`.
54
55 Lowest group communication layer (evs) would fail to handle the situation properly when big number of nodes would suddenly start to see each other. Bugs fixed :bug:`1271918` and :bug:`1249805`.
56
57 |Percona XtraDB Cluster| server package no longer conflicts with ``mysql-libs`` package from *CentOS* repository. Bug fixed :bug:`1278516`.
58
59 The mysql-debug ``UNIV_DEBUG`` binary was missing from RPM/DEB server packages. Bug fixed :bug:`1290087`.
60
61 XtraBackup SST would fail if `progress <http://www.percona.com/doc/percona-xtradb-cluster/5.6/manual/xtrabackup_sst.html#progress>`_ option was used with large number of files. Bug fixed :bug:`1294431`.
62
63 When Query Cache was used and a node would go into non-PRIM state, queries which returned results earlier (and cached into query cache) would still return results whereas newer queries (or the ones not cached) would return ``unknown command``. Bug fixed :bug:`1296403`.
64
65 Brute Force abort did not work with INSERTs to table with single unique key. Bug fixed :bug:`1299116`.
66
67 |InnoDB| buffer pool dump and load was not working as expected due to :variable:`wsrep_recover` overwriting the buffer pool dump file. Bug fixed :bug:`1305955`.
68
69 Close referenced table opened in the same function when foreign constraints were checked, otherwise it could lead to server stall when running ``DROP TABLE``. Bug fixed :bug:`1309241`.
70
71 Compiling on *FreeBSD* 10.0 with ``CLANG`` would result in fatal error. Bug fixed :bug:`1309507`.
72
73 Truncating the sorted version of multi-byte character conversion could lead to wsrep certification failures. Bug fixed :bug:`1314854`.
74
75 Cluster node acting as async slave would stop with the wrong position after hitting :variable:`max_write_set_size`. Bug fixed :bug:`1309669`.
76
77 Fixed the events replication inconsistencies. Bug fixed :bug:`1312618`.
78
79 :variable:`wsrep_slave_threads` was counted towards :variable:`max_connections` which could cause ``ERROR 1040 (HY000): Too many connections`` error. Bug fixed :bug:`1315588`.
80
81 Leaving node was not set nonoperational if processed leave message originated from different view than the current one which could cause other nodes to crash. Bug fixed :bug:`1323412` (:githubbug:`41`).
82
83 ``garb`` couldn't be started with ``init`` script on *RHEL* 6.5. Bug fixed :bug:`1323652`.
84
85 SST would fail when binlogs were in dedicated directory that's located inside ``datadir``. This bug was a regression introduced by bug fix for :bug:`1273368`. Bug fixed :bug:`1326012`.
86
87 GTID of TOI operations is now also synced to |InnoDB| tablespace in order to get consistent backups. Bug fixed :bug:`1329055`.
88
89 ``mysql-debug`` is now distributed with binary ``tar.gz`` along with RPM and DEB packages. Bug fixed :bug:`1332073`.
90
91 Startup failure with ``Undetected state gap`` has been fixed. Bug fixed :bug:`1334606`.
92
93 Galera3 is now installed in ``/usr/lib/galera3/libgalera_smm.so`` with a compatibility symlink to ``/usr/lib/libgalera_smm.so``. Bug fixed :bug:`1279328`.
94
95 Galera could not be compiled on PowerPC. Bug fixed :githubbug:`59`.
96
97 Cluster could stall if leaving node failed to acknowledge all messages it had received due to exception and remaining nodes failed to reach consensus because of that. Bug fixed :githubbug:`37`.
98
99 When two node instances were set up on the same server with the two different IPs, they couldn't not work well because they were use wrong IP addresses. Bug fixed :githubbug:`31`.
100
101 Automated donor selection with segments gave inconsistent results. Bug fixed :githubbug:`29`.
102
103Other bug fixes: :bug:`1297822`, :bug:`1269811`, :bug:`1262887`, :bug:`1244835`, :bug:`1338995`, :githubbug:`11`, :githubbug:`40`, :githubbug:`38`, :githubbug:`33`, and :githubbug:`24`.
104
105Help us improve quality by reporting any bugs you encounter using our `bug tracking system <https://bugs.launchpad.net/percona-xtradb-cluster/+filebug>`_. As always, thanks for your continued support of Percona!
106
0107
=== modified file 'doc-pxc/source/release-notes/release-notes_index.rst'
--- doc-pxc/source/release-notes/release-notes_index.rst 2014-03-20 09:43:39 +0000
+++ doc-pxc/source/release-notes/release-notes_index.rst 2014-07-18 11:34:40 +0000
@@ -6,6 +6,7 @@
6 :maxdepth: 16 :maxdepth: 1
7 :glob:7 :glob:
88
9 Percona-XtraDB-Cluster-5.6.19-25.6
9 Percona-XtraDB-Cluster-5.6.15-25.510 Percona-XtraDB-Cluster-5.6.15-25.5
10 Percona-XtraDB-Cluster-5.6.15-25.411 Percona-XtraDB-Cluster-5.6.15-25.4
11 Percona-XtraDB-Cluster-5.6.15-25.312 Percona-XtraDB-Cluster-5.6.15-25.3
1213
=== modified file 'doc-pxc/source/wsrep-provider-index.rst'
--- doc-pxc/source/wsrep-provider-index.rst 2014-03-20 09:43:39 +0000
+++ doc-pxc/source/wsrep-provider-index.rst 2014-07-18 11:34:40 +0000
@@ -485,6 +485,16 @@
485485
486When this variable is set to ``TRUE`` more recent primary component overrides older ones in case of conflicting prims.486When this variable is set to ``TRUE`` more recent primary component overrides older ones in case of conflicting prims.
487487
488.. variable:: pc.recovery
489
490 :cli: Yes
491 :conf: Yes
492 :scope: Global
493 :dyn: No
494 :default: true
495
496When this variable is set to ``true`` the node stores the Primary Component state to disk. The Primary Component can then recover automatically when all nodes that were part of the last saved state re-establish communications with each other. This feature allows automatic recovery from full cluster crashes, such as in the case of a data center power outage and graceful full cluster restarts without the need for explicitly bootstrapping a new Primary Component.
497
488.. variable:: pc.version498.. variable:: pc.version
489499
490 :cli: Yes500 :cli: Yes
491501
=== modified file 'doc-pxc/source/wsrep-status-index.rst'
--- doc-pxc/source/wsrep-status-index.rst 2014-01-29 15:10:12 +0000
+++ doc-pxc/source/wsrep-status-index.rst 2014-07-18 11:34:40 +0000
@@ -135,6 +135,10 @@
135.. variable:: wsrep_incoming_addresses135.. variable:: wsrep_incoming_addresses
136136
137Shows the comma-separated list of incoming node addresses in the cluster.137Shows the comma-separated list of incoming node addresses in the cluster.
138
139.. variable:: wsrep_evs_repl_latency
140
141This status variable provides the information regarding the group communication replication latency. This latency is measured from the time point when a message is sent out to the time point when a message is received.
138 142
139.. variable:: wsrep_cluster_conf_id143.. variable:: wsrep_cluster_conf_id
140144
141145
=== modified file 'doc-pxc/source/wsrep-system-index.rst'
--- doc-pxc/source/wsrep-system-index.rst 2014-03-20 12:59:52 +0000
+++ doc-pxc/source/wsrep-system-index.rst 2014-07-18 11:34:40 +0000
@@ -231,7 +231,7 @@
231 :scope: Global231 :scope: Global
232 :dyn: Yes232 :dyn: Yes
233233
234This variable is used to set the notification `command <http://www.codership.com/wiki/doku.php?id=notification_command>`_ that server will execute every time cluster membership or local node status changes.234This variable is used to set the notification `command <http://galeracluster.com/documentation-webpages/notification-cmd.html>`_ that server will execute every time cluster membership or local node status changes.
235235
236.. variable:: wsrep_on236.. variable:: wsrep_on
237237
@@ -309,6 +309,16 @@
309309
310This variable controls if *MyISAM* will be replicated or not. *MyISAM* replication is still experimental and that is one of the reasons why this variable is set to ``OFF`` by default. 310This variable controls if *MyISAM* will be replicated or not. *MyISAM* replication is still experimental and that is one of the reasons why this variable is set to ``OFF`` by default.
311311
312.. variable:: wsrep_restart_slave
313
314 :cli: Yes
315 :conf: Yes
316 :scope: Global
317 :dyn: Yes
318 :default: OFF
319
320This variable controls if |MySQL| slave should be restarted automatically, when node joins back to cluster, because asynchronous replication slave thread is stopped when the node tries to apply next replication event while the node is in non-primary state.
321
312.. variable:: wsrep_retry_autocommit322.. variable:: wsrep_retry_autocommit
313323
314 :cli: Yes324 :cli: Yes
@@ -319,6 +329,26 @@
319329
320This variable sets the number of times autocommitted transactions will be tried in the cluster if it encounters certification errors. In case there is a conflict, it should be safe for the cluster node to simply retry the statement without the client's knowledge with the hopes that it will pass the next time. This can be useful to help an application using autocommit to avoid the deadlock errors that can be triggered by replication conflicts. If this variable is set to ``0`` transaction won't be retried and if it is set to ``1`` it will be retried once.330This variable sets the number of times autocommitted transactions will be tried in the cluster if it encounters certification errors. In case there is a conflict, it should be safe for the cluster node to simply retry the statement without the client's knowledge with the hopes that it will pass the next time. This can be useful to help an application using autocommit to avoid the deadlock errors that can be triggered by replication conflicts. If this variable is set to ``0`` transaction won't be retried and if it is set to ``1`` it will be retried once.
321331
332.. variable:: wsrep_slave_FK_checks
333
334 :cli: Yes
335 :conf: Yes
336 :scope: Global
337 :dyn: Yes
338 :default: ON
339
340This variable is used to control if Foreign Key checking is done for applier threads.
341
342.. variable:: wsrep_slave_UK_checks
343
344 :cli: Yes
345 :conf: Yes
346 :scope: Global
347 :dyn: Yes
348 :default: OFF
349
350This variable is used to control if Unique Key checking is done for applier threads.
351
322.. variable:: wsrep_slave_threads352.. variable:: wsrep_slave_threads
323353
324 :cli: Yes354 :cli: Yes
@@ -327,7 +357,7 @@
327 :dyn: Yes357 :dyn: Yes
328 :default: 1358 :default: 1
329359
330This variable controls the number of threads that can apply replication transactions in parallel. Galera supports true parallel replication, replication that applies transactions in parallel only when it is safe to do so. The variable is dynamic, you can increase/decrease it anytime, note that, when you decrease it, it won't kill the threads immediately but stop them after they are done applying current transaction (the effect with increase is immediate though). If any replication consistency problems are encountered, it's recommended to set this back to ``1`` to see if that resolves the issue. The default value can be increased for better throughput. You may want to increase it many a time as suggested `in Codership documentation <http://www.codership.com/wiki/doku.php?id=flow_control>`_, in JOINED state for instance to speed up the catchup process to SYNCED. You can also estimate the optimal value for this from :variable:`wsrep_cert_deps_distance` as suggested `on this page <http://www.codership.com/wiki/doku.php?id=monitoring#checking_replication_health>`_. You can also refer to `this <http://www.codership.com/wiki/doku.php?id=configuration_tips#parallel_applying_wsrep_slave_threads>`_ for more configuration tips.360This variable controls the number of threads that can apply replication transactions in parallel. Galera supports true parallel replication, replication that applies transactions in parallel only when it is safe to do so. The variable is dynamic, you can increase/decrease it anytime, note that, when you decrease it, it won't kill the threads immediately but stop them after they are done applying current transaction (the effect with increase is immediate though). If any replication consistency problems are encountered, it's recommended to set this back to ``1`` to see if that resolves the issue. The default value can be increased for better throughput. You may want to increase it many a time as suggested `in Codership documentation <http://galeracluster.com/documentation-webpages/nodestates.html#flow-control>`_, in ``JOINED`` state for instance to speed up the catchup process to ``SYNCED``. You can also estimate the optimal value for this from :variable:`wsrep_cert_deps_distance` as suggested `on this page <http://galeracluster.com/documentation-webpages/monitoringthecluster.html#checking-the-replication-health>`_. You can also refer to `this <http://galeracluster.com/documentation-webpages/configurationtips.html#setting-parallel-slave-threads>`_ for more configuration tips.
331361
332.. variable:: wsrep_sst_auth362.. variable:: wsrep_sst_auth
333363
@@ -372,7 +402,7 @@
372 * xtrabackup-v2 - This is same as xtrabackup SST except that it uses newer protocol, hence is not compatible. This is the **recommended** option for PXC 5.5.34 and above. For more details, please check :ref:`xtrabackup_sst` and :ref:`errata`. This is also the default SST method. For SST with older nodes (< 5.5.34), use xtrabackup as the SST method.402 * xtrabackup-v2 - This is same as xtrabackup SST except that it uses newer protocol, hence is not compatible. This is the **recommended** option for PXC 5.5.34 and above. For more details, please check :ref:`xtrabackup_sst` and :ref:`errata`. This is also the default SST method. For SST with older nodes (< 5.5.34), use xtrabackup as the SST method.
373 * rsync - uses ``rsync`` to perform the SST, this method doesn't use the :variable:`wsrep_sst_auth`403 * rsync - uses ``rsync`` to perform the SST, this method doesn't use the :variable:`wsrep_sst_auth`
374 * mysqldump - uses ``mysqldump`` to perform the SST, this method requires :variable:`wsrep_sst_auth` to be set up with <user>:<password>, where user has root privileges on the server.404 * mysqldump - uses ``mysqldump`` to perform the SST, this method requires :variable:`wsrep_sst_auth` to be set up with <user>:<password>, where user has root privileges on the server.
375 * custom_script_name - Galera supports `Scriptable State Snapshot Transfer <http://www.codership.com/wiki/doku.php?id=scriptable_state_snapshot_transfer>`_. This enables users to create their own custom script for performing an SST.405 * custom_script_name - Galera supports `Scriptable State Snapshot Transfer <http://galeracluster.com/documentation-webpages/statetransfer.html#scriptable-state-snapshot-transfer>`_. This enables users to create their own custom script for performing an SST.
376 * skip - this option can be used to skip the SST, it can be used when initially starting the cluster and manually restore the same data to all nodes. It shouldn't be used as permanent setting because it could lead to data inconsistency across the nodes.406 * skip - this option can be used to skip the SST, it can be used when initially starting the cluster and manually restore the same data to all nodes. It shouldn't be used as permanent setting because it could lead to data inconsistency across the nodes.
377407
378.. note:: 408.. note::

Subscribers

People subscribed via source and target branches