Merge lp:~hrvojem/percona-xtradb-cluster/rn-5.6.21-25.8 into lp:percona-xtradb-cluster

Proposed by Hrvoje Matijakovic
Status: Merged
Approved by: Hrvoje Matijakovic
Approved revision: 920
Merge reported by: Hrvoje Matijakovic
Merged at revision: not available
Proposed branch: lp:~hrvojem/percona-xtradb-cluster/rn-5.6.21-25.8
Merge into: lp:percona-xtradb-cluster
Diff against target: 308 lines (+157/-4)
9 files modified
doc-pxc/source/conf.py (+3/-2)
doc-pxc/source/howtos/cenots_howto.rst (+4/-0)
doc-pxc/source/installation.rst (+1/-1)
doc-pxc/source/manual/bootstrap.rst (+6/-0)
doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.21-25.8.rst (+70/-0)
doc-pxc/source/release-notes/release-notes_index.rst (+1/-0)
doc-pxc/source/wsrep-provider-index.rst (+45/-0)
doc-pxc/source/wsrep-status-index.rst (+26/-0)
doc-pxc/source/wsrep-system-index.rst (+1/-1)
To merge this branch: bzr merge lp:~hrvojem/percona-xtradb-cluster/rn-5.6.21-25.8
Reviewer Review Type Date Requested Status
Raghavendra D Prabhu Pending
Review via email: mp+242005@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Looks good to me.

For https://github.com/codership/galera/issues/88

Bug fixed: Bootstrapping a node tried to resolve gcomm address list specified in
wsrep-cluster-address.

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :
920. By Hrvoje Matijakovic

- Percona XtraDB Cluster 5.6.21-25.8 release notes
- Bugfix for Bug #1392369
- fixed missing wsrep status variables

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'doc-pxc/source/conf.py'
--- doc-pxc/source/conf.py 2014-09-04 14:22:31 +0000
+++ doc-pxc/source/conf.py 2014-11-25 13:29:06 +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.20'56version = '5.6.21'
57# The full version, including alpha/beta/rc tags.57# The full version, including alpha/beta/rc tags.
58release = '5.6.20-25.7'58release = '5.6.21-25.8'
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.
@@ -145,6 +145,7 @@
145extlinks = {'bug': ('https://bugs.launchpad.net/percona-xtradb-cluster/+bug/%s',145extlinks = {'bug': ('https://bugs.launchpad.net/percona-xtradb-cluster/+bug/%s',
146 '#'), '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',147 '#'), 'githubbug': ('https://github.com/codership/galera/issues/%s',
148 '#'), 'wsrepbug': ('https://github.com/codership/mysql-wsrep/issues/%s',
148 '#')}149 '#')}
149150
150# A list of ignored prefixes for module index sorting.151# A list of ignored prefixes for module index sorting.
151152
=== modified file 'doc-pxc/source/howtos/cenots_howto.rst'
--- doc-pxc/source/howtos/cenots_howto.rst 2014-01-29 15:10:12 +0000
+++ doc-pxc/source/howtos/cenots_howto.rst 2014-11-25 13:29:06 +0000
@@ -76,6 +76,10 @@
76After this, first node can be started with the following command: ::76After this, first node can be started with the following command: ::
7777
78 [root@percona1 ~]# /etc/init.d/mysql bootstrap-pxc78 [root@percona1 ~]# /etc/init.d/mysql bootstrap-pxc
79
80In case you're running this tutorial on *CentOS* 7 server, systemd bootstrap service should be used instead: ::
81
82 [root@percona1 ~]# systemctl start mysql@bootstrap.service
79 83
80This command will start the cluster with initial :variable:`wsrep_cluster_address` set to ``gcomm://``. This way the cluster will be bootstrapped and in case the node or |MySQL| have to be restarted later, there would be no need to change the configuration file.84This command will start the cluster with initial :variable:`wsrep_cluster_address` set to ``gcomm://``. This way the cluster will be bootstrapped and in case the node or |MySQL| have to be restarted later, there would be no need to change the configuration file.
8185
8286
=== modified file 'doc-pxc/source/installation.rst'
--- doc-pxc/source/installation.rst 2014-01-29 15:10:12 +0000
+++ doc-pxc/source/installation.rst 2014-11-25 13:29:06 +0000
@@ -9,7 +9,7 @@
99
10Ready-to-use binaries are available from the *Percona XtraDB Cluster* `download page <http://www.percona.com/downloads/Percona-XtraDB-Cluster-56/>`_, including:10Ready-to-use binaries are available from the *Percona XtraDB Cluster* `download page <http://www.percona.com/downloads/Percona-XtraDB-Cluster-56/>`_, including:
1111
12 * ``RPM`` packages for *RHEL* 5 and *RHEL* 612 * ``RPM`` packages for *RHEL* 5, *RHEL* 6, and *RHEL* 7
1313
14 * *Debian* packages14 * *Debian* packages
1515
1616
=== modified file 'doc-pxc/source/manual/bootstrap.rst'
--- doc-pxc/source/manual/bootstrap.rst 2013-11-21 11:29:19 +0000
+++ doc-pxc/source/manual/bootstrap.rst 2014-11-25 13:29:06 +0000
@@ -32,6 +32,12 @@
32 32
33 /etc/init.d/mysql bootstrap-pxc33 /etc/init.d/mysql bootstrap-pxc
3434
35.. note::
36
37 On CentOS/RHEL 7 following bootstrap command should be used: ::
38
39 systemctl start mysql@bootstrap.service
40
35This way values in :file:`my.cnf` would remain unchanged. Next time node is restarted it won't require updating the configuration file. This can be useful in case cluster has been previously set up and for some reason all nodes went down and the cluster needs to be bootstrapped again. 41This way values in :file:`my.cnf` would remain unchanged. Next time node is restarted it won't require updating the configuration file. This can be useful in case cluster has been previously set up and for some reason all nodes went down and the cluster needs to be bootstrapped again.
3642
37Other Reading43Other Reading
3844
=== added file 'doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.21-25.8.rst'
--- doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.21-25.8.rst 1970-01-01 00:00:00 +0000
+++ doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.21-25.8.rst 2014-11-25 13:29:06 +0000
@@ -0,0 +1,70 @@
1.. rn:: 5.6.21-25.8
2
3======================================
4 |Percona XtraDB Cluster| 5.6.21-25.8
5======================================
6
7Percona is glad to announce the release of |Percona XtraDB Cluster| 5.6 on November 25th 2014. Binaries are available from `downloads area <http://www.percona.com/downloads/Percona-XtraDB-Cluster-56/release-5.6.21-25.8/>`_ or from our :doc:`software repositories </installation>`.
8
9Based on `Percona Server 5.6.21-70.1 <http://www.percona.com/doc/percona-server/5.6/release-notes/Percona-Server-5.6.21-70.1.html>`_ including all the bug fixes in it, `Galera Replicator 3.8 <https://github.com/codership/galera/milestones/3.8>`_ and on `Codership wsrep API 25.7 <https://launchpad.net/codership-mysql/+milestone/5.6.21-25.7>`_ 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.21-25.8 milestone <https://launchpad.net/percona-xtradb-cluster/+milestone/5.6.21-25.8>`_ at Launchpad.
10
11New Features
12============
13
14 Galera 3.8 introduces auto-eviction for nodes in the cluster experiencing network issues like packet loss. It is off by default and is turned on with :variable:`evs.auto_evict` option. This feature requires EVS protocol version (:variable:`evs.version`) ``1``. During the EVS protocol upgrade all membership changes are communicated over EVS protocol version ``0`` to preserve backwards compatibility, protocol is upgraded to the highest commonly supported version when forming a new group so if there exist a single node with older version in the group, the group protocol version remains as ``0`` and auto-eviction is not functional. (:bug:`1274192`).
15
16 |Percona XtraDB Cluster| now supports backup locks in XtraBackup SST (in the default ``xtrabackup-v2`` :variable:`wsrep_sst_method`). `Backup locks <http://www.percona.com/doc/percona-server/5.6/management/backup_locks.html>`_ are used in lieu of ``FLUSH TABLES WITH READ LOCK`` on the donor during SST. This should allow for minimal disruption of existing and incoming queries, even under high load. Thus, this should allow for even faster SST and node being in 'donor/desynced' state. This also introduces following constraints: |Percona XtraDB Cluster| 5.6.21 requires |Percona XtraBackup| 2.2.5 or higher; An older (< 5.6.21) joiner cannot SST from a newer (>= 5.6.21) donor. This is enforced through SST versioning (sent from joiner to donor during SST) and logged to error log explicitly. (:bug:`1390552`).
17
18 |Percona XtraDB Cluster| is now shipped with Galera MTR test suite.
19
20Bugs fixed
21==========
22
23 |Percona XtraDB Cluster| now shows a warning in case additional utilities, like ``pv`` which may not affect critical path of SST, are not installed. Bug fixed :bug:`1248688`.
24
25 Fixed the ``UNIV_DEBUG`` build failures. Bug fixed :bug:`1384413`.
26
27 ``mysqldump`` SST can now use username/password from :variable:`wsrep_sst_auth` under group of ``[sst]`` in :file:`my.cnf` in order not to display the credentials in the error log. Bug fixed :bug:`1293798`.
28
29 Normal shutdown under load would cause server to remain hanging because replayer failed to finish. Bug fixed :bug:`1358701`.
30
31 :variable:`wsrep_causal_reads` variable was not honored when declared as global. Bug fixed :bug:`1361859`.
32
33 Assertion failure ``lock != ctx->wait_lock`` has been fixed. Bug fixed :bug:`1364840`.
34
35 ``garbd`` would not work when cluster address was specified without the port. Bug fixed :bug:`1365193`.
36
37 Fixed wsrep options compiler warnings in *Fedora* 20. Bug fixed :bug:`1369916`.
38
39 If ``mysqld`` gets killed during the SST it will leave an unclean data directory behind. This would cause |Percona XtraDB Cluster| to fail when the server would be started next time because the data directory would be corrupted. This was fixed by resuming the startup in case :variable:`wsrep-recover` failed to recover due to corrupted data directory. The old behavior is still achievable through :variable:`--exit-on-recover-fail` command line parameter to ``mysqld_safe`` or ``exit-on-recover-fail`` under ``[mysqld_safe]`` in :file:`my.cnf`. Bug fixed :bug:`1378578`.
40
41 |Percona XtraDB Cluster| now reads environment variables for mysqld from following files (if present): /etc/default/mysql in Debian/Ubuntu; ``/etc/sysconfig/mysql`` in CentOS 6 or lower; ``/etc/sysconfig/mysql`` in CentOS 7 with ``mysql.service``; ``/etc/sysconfig/XYZ`` in CentOS 7 with ``mysql@XYZ.service`` (``/etc/sysconfig/bootstrap`` is supplied by default). Bug fixed :bug:`1381492`.
42
43 ``gvwstate.dat`` file was removed on joiner when :ref:`xtrabackup_sst` method was used. Bug fixed :bug:`1388059`.
44
45 |Percona XtraDB Cluster| now detects older joiners which don't have the backup lock support. Bug fixed :bug:`1390552`.
46
47 Longer ``wsrep-recover`` is now handled gracefully in Debian init scripts rather than returning immediately with a false positive fail.
48
49 ``wsrep-recover`` log is now also written to mysql error log now.
50
51 Issue with stale PID files and Debian init script have been fixed now. It now emits a warning for stale PID files. 
52
53 :file:`sst_in_progress` file is not removed anymore in case of failed SST.
54
55 In case stored procedure containing a non-InnoDB statement (MyISAM) performed autocommit, that commit would be entered two times: at statement end and next time at stored procedure end. Bug fixed :wsrepbug:`2`.
56
57 TOI now skips replication if all tables are temporary. Bugs fixed :wsrepbug:`11` and :wsrepbug:`13`.
58
59 Two appliers conflicting with local transaction and resulting later in (acceptable) BF-BF lock conflict, would cause cluster to hang when the other BF thread would not grant the lock back after its local transaction got aborted. Bug fixed :wsrepbug:`7`.
60
61 Bootstrapping a node tried to resolve gcomm address list specified in :variable:`wsrep-cluster-address`. Bug fixed :githubbug:`88`.
62
63 ``xtrabackup-v2`` SST did not clean the undo log directory. Bug fixed :bug:`1394836`.
64
65 Inserts to a table with autoincrement primary key could result in duplicate key error if another node joined or dropped from the cluster during the insert processing. Bug fixed :bug:`1366997`.
66
67Other bugs fixed :bug:`1378138`, :bug:`1377226`, :bug:`1376965`, :bug:`1356859`, :bug:`1026181`, :bug:`1367173`, :bug:`1390482`, :bug:`1391634`, and :bug:`1392369`.
68
69Help 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!
70
071
=== modified file 'doc-pxc/source/release-notes/release-notes_index.rst'
--- doc-pxc/source/release-notes/release-notes_index.rst 2014-09-01 14:11:54 +0000
+++ doc-pxc/source/release-notes/release-notes_index.rst 2014-11-25 13:29:06 +0000
@@ -6,6 +6,7 @@
6 :maxdepth: 16 :maxdepth: 1
7 :glob:7 :glob:
88
9 Percona-XtraDB-Cluster-5.6.21-25.8
9 Percona-XtraDB-Cluster-5.6.20-25.710 Percona-XtraDB-Cluster-5.6.20-25.7
10 Percona-XtraDB-Cluster-5.6.19-25.611 Percona-XtraDB-Cluster-5.6.19-25.6
11 Percona-XtraDB-Cluster-5.6.15-25.512 Percona-XtraDB-Cluster-5.6.15-25.5
1213
=== modified file 'doc-pxc/source/wsrep-provider-index.rst'
--- doc-pxc/source/wsrep-provider-index.rst 2014-07-18 11:33:37 +0000
+++ doc-pxc/source/wsrep-provider-index.rst 2014-11-25 13:29:06 +0000
@@ -50,6 +50,17 @@
50 :dyn: No50 :dyn: No
51 :default: no51 :default: no
5252
53.. variable:: evs.auto_evict
54
55 :version: Introduced in :rn:`5.6.21-25.8`
56 :cli: Yes
57 :conf: Yes
58 :scope: Global
59 :dyn: Yes
60 :default: 0
61
62Number of entries allowed on delayed list until auto eviction takes place. Setting value to 0 disables auto eviction protocol on the node, though node response times will still be monitored. For auto eviction to be enabled requires EVS protocol version (:variable:`evs.version`) ``1``.
63
53.. variable:: evs.causal_keepalive_period64.. variable:: evs.causal_keepalive_period
5465
55 :cli: Yes66 :cli: Yes
@@ -70,6 +81,38 @@
7081
71This variable is used for EVS (Extended Virtual Synchrony) debugging it can be used only when :variable:`wsrep_debug` is set to ``ON``.82This variable is used for EVS (Extended Virtual Synchrony) debugging it can be used only when :variable:`wsrep_debug` is set to ``ON``.
7283
84.. variable:: evs.delay_margin
85
86 :version: Introduced in :rn:`5.6.21-25.8`
87 :cli: Yes
88 :conf: Yes
89 :scope: Global
90 :dyn: Yes
91 :default: PT1S
92
93Time period that a node can delay its response from expected until it is added to delayed list. The value must be higher than the highest RTT between nodes.
94
95.. variable:: evs.delayed_keep_period
96
97 :version: Introduced in :rn:`5.6.21-25.8`
98 :cli: Yes
99 :conf: Yes
100 :scope: Global
101 :dyn: Yes
102 :default: PT30S
103
104Time period that node is required to remain responsive until one entry is removed from delayed list.
105
106.. variable:: evs.evict
107
108 :version: Introduced in :rn:`5.6.21-25.8`
109 :cli: Yes
110 :conf: Yes
111 :scope: Global
112 :dyn: Yes
113
114Manual eviction can be triggered by setting the :variable:`evs.evict` to a certain node value. Setting the :variable:`evs.evict` to an empty string will clear the evict list on the node where it was set.
115
73.. variable:: evs.inactive_check_period116.. variable:: evs.inactive_check_period
74117
75 :cli: Yes118 :cli: Yes
@@ -198,6 +241,8 @@
198 :dyn: No241 :dyn: No
199 :default: 0242 :default: 0
200243
244This variable defines the EVS protocol version. Auto eviction is enabled when this variable is set to ``1``. Default 0 for backwards compatibility.
245
201.. variable:: evs.view_forget_timeout246.. variable:: evs.view_forget_timeout
202247
203 :cli: Yes248 :cli: Yes
204249
=== modified file 'doc-pxc/source/wsrep-status-index.rst'
--- doc-pxc/source/wsrep-status-index.rst 2014-07-18 11:33:37 +0000
+++ doc-pxc/source/wsrep-status-index.rst 2014-11-25 13:29:06 +0000
@@ -26,12 +26,20 @@
2626
27.. variable:: wsrep_repl_keys27.. variable:: wsrep_repl_keys
2828
29Total number of keys replicated.
30
29.. variable:: wsrep_repl_keys_bytes31.. variable:: wsrep_repl_keys_bytes
3032
33Total size (in bytes) of keys replicated.
34
31.. variable:: wsrep_repl_data_bytes35.. variable:: wsrep_repl_data_bytes
3236
37Total size (in bytes) of data replicated.
38
33.. variable:: wsrep_repl_other_bytes39.. variable:: wsrep_repl_other_bytes
3440
41Total size of other bits replicated.
42
35.. variable:: wsrep_received43.. variable:: wsrep_received
36 44
37Total number of writesets received from other nodes. 45Total number of writesets received from other nodes.
@@ -74,6 +82,8 @@
7482
75.. variable:: wsrep_flow_control_paused_ns83.. variable:: wsrep_flow_control_paused_ns
7684
85The total time spent in a paused state measured in nanoseconds.
86
77.. variable:: wsrep_flow_control_paused87.. variable:: wsrep_flow_control_paused
78 88
79Time since the last status query that replication was paused due to flow control.89Time since the last status query that replication was paused due to flow control.
@@ -128,6 +138,8 @@
128138
129.. variable:: wsrep_cert_index_size139.. variable:: wsrep_cert_index_size
130 140
141This variable shows the number of entries in the certification index.
142
131.. variable:: wsrep_causal_reads_143.. variable:: wsrep_causal_reads_
132144
133Shows the number of writesets processed while the variable :variable:`wsrep_causal_reads` was set to ``ON``.145Shows the number of writesets processed while the variable :variable:`wsrep_causal_reads` was set to ``ON``.
@@ -140,6 +152,18 @@
140152
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.153This 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.
142 154
155.. variable:: wsrep_evs_delayed
156
157List of UUIDs of the evicted nodes.
158
159.. variable:: wsrep_evs_evict_list
160
161Comma separated list of nodes that are considered delayed. The node format is ``<uuid>:<address>:<count>`` where ``<count>`` is the number of entries on delayed list for that node.
162
163.. variable:: wsrep_evs_state
164
165Internal EVS protocol state.
166
143.. variable:: wsrep_cluster_conf_id167.. variable:: wsrep_cluster_conf_id
144168
145Number of cluster membership changes happened.169Number of cluster membership changes happened.
@@ -160,6 +184,8 @@
160 * ``Disconnected`` -184 * ``Disconnected`` -
161 185
162.. variable:: wsrep_connected186.. variable:: wsrep_connected
187
188This variable shows if the node is connected to the cluster. If the value is OFF, the node has not yet connected to any of the cluster components. This may be due to misconfiguration.
163 189
164.. variable:: wsrep_local_bf_aborts190.. variable:: wsrep_local_bf_aborts
165 191
166192
=== modified file 'doc-pxc/source/wsrep-system-index.rst'
--- doc-pxc/source/wsrep-system-index.rst 2014-09-01 14:11:54 +0000
+++ doc-pxc/source/wsrep-system-index.rst 2014-11-25 13:29:06 +0000
@@ -53,7 +53,7 @@
53 :cli: Yes53 :cli: Yes
54 :conf: Yes54 :conf: Yes
55 :scope: Global55 :scope: Global
56 :dyn: No56 :dyn: Yes
5757
58This minimally needs to be any single other cluster node's address that is alive and a member of the cluster. In practice, it is best (but not necessary) to provide a complete list of all possible cluster nodes.  This takes the form of: :: 58This minimally needs to be any single other cluster node's address that is alive and a member of the cluster. In practice, it is best (but not necessary) to provide a complete list of all possible cluster nodes.  This takes the form of: ::
5959

Subscribers

People subscribed via source and target branches