Merge lp:~hrvojem/percona-xtradb-cluster/rn-5.6.20-25.7-5.6 into lp:percona-xtradb-cluster

Proposed by Hrvoje Matijakovic
Status: Merged
Approved by: Hrvoje Matijakovic
Approved revision: 865
Merge reported by: Hrvoje Matijakovic
Merged at revision: not available
Proposed branch: lp:~hrvojem/percona-xtradb-cluster/rn-5.6.20-25.7-5.6
Merge into: lp:percona-xtradb-cluster
Diff against target: 153 lines (+95/-1)
6 files modified
doc-pxc/source/manual/state_snapshot_transfer.rst (+5/-0)
doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.19-25.6.rst (+1/-1)
doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.20-25.7.rst (+48/-0)
doc-pxc/source/release-notes/release-notes_index.rst (+1/-0)
doc-pxc/source/wsrep-files-index.rst (+22/-0)
doc-pxc/source/wsrep-system-index.rst (+18/-0)
To merge this branch: bzr merge lp:~hrvojem/percona-xtradb-cluster/rn-5.6.20-25.7-5.6
Reviewer Review Type Date Requested Status
Raghavendra D Prabhu (community) Approve
Review via email: mp+232452@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

In addition to below, (ignore if already added)

https://github.com/codership/galera/issues/95
https://github.com/codership/galera/issues/84
https://github.com/codership/galera/issues/75
https://github.com/codership/galera/issues/67

Documentation from those issues can be replicated to ours. They should be in galera tree (if not on their website).

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

Minor changes required.

One more thing to add: (under bugs)

Session-level binlog_format change to STATEMENT is allowed to support pt-table-checksum. A warning (to not use it otherwise) is also added to error log.

865. By Hrvoje Matijakovic

Release notes for Percona-XtraDB-Cluster-5.6.20-25.7

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

Approved.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc-pxc/source/manual/state_snapshot_transfer.rst'
2--- doc-pxc/source/manual/state_snapshot_transfer.rst 2014-07-18 11:33:37 +0000
3+++ doc-pxc/source/manual/state_snapshot_transfer.rst 2014-09-01 14:13:08 +0000
4@@ -11,6 +11,11 @@
5
6 If the variable :variable:`gcs.sync_donor` is set to ``Yes`` (default ``No``), whole cluster will get blocked if the donor is blocked by the State Snapshot Transfer and not just the donor node.
7
8+Choosing the SST Donor
9+======================
10+
11+If there are no nodes available that can safely perform an incremental state transfer, the cluster defaults to a state snapshot transfer. If there are nodes available that can safely perform an incremental state transfer, the cluster prefers a local node over remote nodes to serve as the donor. If there are no local nodes available that can safely perform an incremental state transfer, the cluster chooses a remote node to serve as the donor. Where there are several local or remote nodes available that can safely perform an incremental state transfer, the cluster chooses the node with the highest ``seqno`` to serve as the donor.
12+
13 Using *Percona Xtrabackup*
14 ==========================
15
16
17=== modified file 'doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.19-25.6.rst'
18--- doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.19-25.6.rst 2014-07-18 11:33:37 +0000
19+++ doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.19-25.6.rst 2014-09-01 14:13:08 +0000
20@@ -1,4 +1,4 @@
21-.. rn:: 5.6.17-25.6
22+.. rn:: 5.6.19-25.6
23
24 ======================================
25 |Percona XtraDB Cluster| 5.6.19-25.6
26
27=== added file 'doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.20-25.7.rst'
28--- doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.20-25.7.rst 1970-01-01 00:00:00 +0000
29+++ doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.6.20-25.7.rst 2014-09-01 14:13:08 +0000
30@@ -0,0 +1,48 @@
31+.. rn:: 5.6.20-25.7
32+
33+======================================
34+ |Percona XtraDB Cluster| 5.6.20-25.7
35+======================================
36+
37+Percona is glad to announce the release of |Percona XtraDB Cluster| 5.6 on September 1st 2014. Binaries are available from `downloads area <http://www.percona.com/downloads/Percona-XtraDB-Cluster-56/release-5.6.20-25.7/>`_ or from our :doc:`software repositories </installation>`.
38+
39+Based on `Percona Server 5.6.20-68.0 <http://www.percona.com/doc/percona-server/5.6/release-notes/Percona-Server-5.6.20-68.0.html>`_ including all the bug fixes in it, `Galera Replicator 3.7 <https://github.com/codership/galera/issues?milestone=1&page=1&state=closed>`_ and on `Codership wsrep API 25.7 <https://launchpad.net/wsrep-group/+milestone/5.6.20-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.20-25.7 milestone <https://launchpad.net/percona-xtradb-cluster/+milestone/5.6.20-25.7>`_ at Launchpad.
40+
41+New Features
42+============
43+
44+ `systemd <http://freedesktop.org/wiki/Software/systemd/>`_ integration with *RHEL*/*CentOS* 7 is now available for |Percona XtraDB Cluster| (:bug:`1342223`).
45+
46+ New session variable :variable:`wsrep_sync_wait` has been implemented to control causality check. The old session variable :variable:`wsrep_causal_reads` is deprecated but is kept for backward compatibility (:bug:`1277053`).
47+
48+Bugs fixed
49+==========
50+
51+ Running ``START TRANSACTION WITH CONSISTENT SNAPSHOT``, ``mysqldump`` with :option:`--single-transaction` or ``mydumper`` with disabled binlog would lead to a server crash. Bug fixed :bug:`1353644`.
52+
53+ ``percona-xtradb-cluster-garbd-3.x`` package was installed incorrectly on *Debian*/*Ubuntu*. Bug fixed :bug:`1360633`.
54+
55+ Fixed ``netcat`` in SST script for Centos7 ``nmap-ncat``. Bug fixed :bug:`1359767`.
56+
57+ TO isolation was run even when wsrep plugin was not loaded. Bug fixed :bug:`1358681`.
58+
59+ The error from net read was not handled in native |MySQL| mode. This would cause duplicate key error if there was unfinished transaction at the time of shutdown, because it would be committed during the startup recovery. Bug fixed :bug:`1358264`.
60+
61+ The netcat in garbd init script has been replaced with nmap for compatibility in *CentOS* 7. Bug fixed :bug:`1349384`.
62+
63+ ``SHOW STATUS`` was generating debug output in the error log. Bug fixed :bug:`1347818`.
64+
65+ Incorrect source string length could lead to server crash. This fix allows maximum of 3500 bytes of key material to be populated, longer keys will be truncated. Bug fixed :bug:`1347768`.
66+
67+ A memory leak in ``wsrep_mysql_parse`` function has been fixed. Bug fixed :bug:`1345023`.
68+
69+ wsrep consistency check is now enabled for ``REPLACE ... SELECT`` as well. This was implemented because ``pt-table-checksum`` uses ``REPLACE .. SELECT`` during checksumming. Bug fixed :bug:`1343209`.
70+
71+ Client connections were closed unconditionally before generating SST request. Fixed by avoiding closing connections when wsrep is initialized before storage engines. Bug fixed :bug:`1258658`.
72+
73+ Session-level binlog_format change to ``STATEMENT`` is now allowed to support ``pt-table-checksum``. A warning (to not use it otherwise) is also added to error log.
74+
75+Other bug fixes: :bug:`1280270`.
76+
77+Help 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!
78+
79
80=== modified file 'doc-pxc/source/release-notes/release-notes_index.rst'
81--- doc-pxc/source/release-notes/release-notes_index.rst 2014-07-18 11:33:37 +0000
82+++ doc-pxc/source/release-notes/release-notes_index.rst 2014-09-01 14:13:08 +0000
83@@ -6,6 +6,7 @@
84 :maxdepth: 1
85 :glob:
86
87+ Percona-XtraDB-Cluster-5.6.20-25.7
88 Percona-XtraDB-Cluster-5.6.19-25.6
89 Percona-XtraDB-Cluster-5.6.15-25.5
90 Percona-XtraDB-Cluster-5.6.15-25.4
91
92=== modified file 'doc-pxc/source/wsrep-files-index.rst'
93--- doc-pxc/source/wsrep-files-index.rst 2013-09-05 13:37:01 +0000
94+++ doc-pxc/source/wsrep-files-index.rst 2014-09-01 14:13:08 +0000
95@@ -66,3 +66,25 @@
96 seqno: -1
97 cert_index:
98
99+* :file:`gvwstate.dat`
100+ This file is used for Primary Component recovery feature. This file is created once primary component is formed or changed, so you can get the latest primary component this node was in. And this file is deleted when the node is shutdown gracefully.
101+
102+ First part contains the node UUID information. Second part contains the view information. View information is written between ``#vwbeg`` and ``#vwend``. View information consists of:
103+
104+ - view_id: [view_type] [view_uuid] [view_seq]. - ``view_type`` is always ``3`` which means primary view. ``view_uuid`` and ``view_seq`` identifies a unique view, which could be perceived as identifier of this primary component.
105+
106+ - bootstrap: [bootstarp_or_not]. - It could be ``0`` or ``1``, but it does not affect primary component recovery process now.
107+
108+ - member: [node's uuid] [node's segment]. - it represents all nodes in this primary component.
109+
110+ Example of this file looks like this: ::
111+
112+ my_uuid: c5d5d990-30ee-11e4-aab1-46d0ed84b408
113+ #vwbeg
114+ view_id: 3 bc85bd53-31ac-11e4-9895-1f2ce13f2542 2
115+ bootstrap: 0
116+ member: bc85bd53-31ac-11e4-9895-1f2ce13f2542 0
117+ member: c5d5d990-30ee-11e4-aab1-46d0ed84b408 0
118+ #vwend
119+
120+
121
122=== modified file 'doc-pxc/source/wsrep-system-index.rst'
123--- doc-pxc/source/wsrep-system-index.rst 2014-07-18 11:33:37 +0000
124+++ doc-pxc/source/wsrep-system-index.rst 2014-09-01 14:13:08 +0000
125@@ -29,6 +29,7 @@
126
127 .. variable:: wsrep_causal_reads
128
129+ :version 5.6.20-25.7: Variable deprecated by :variable:`wsrep_sync_wait`
130 :cli: Yes
131 :conf: Yes
132 :scope: Global, Local
133@@ -431,3 +432,20 @@
134
135 This variable contains the ``UUID:seqno`` value. By setting all the nodes to have the same value for this option cluster can be set up without the state transfer.
136
137+.. variable:: wsrep_sync_wait
138+
139+ :version 5.6.20-25.7: Variable introduced
140+ :cli: Yes
141+ :conf: Yes
142+ :scope: Global, Session
143+ :dyn: Yes
144+
145+This variable is used to control causality checks on some SQL statements, such as ``SELECT``, ``BEGIN``/``END``, ``SHOW STATUS``, but not on some autocommit SQL statements ``UPDATE`` and ``INSERT``. Causality check is determined by bitmask:
146+
147+ * ``1`` Indicates check on ``READ`` statements, including ``SELECT``, ``SHOW``, ``BEGIN``/``START TRANSACTION``.
148+
149+ * ``2`` Indicates check on ``UPDATE`` and ``DELETE`` statements.
150+
151+ * ``4`` Indicates check on ``INSERT`` and ``REPLACE`` statements
152+
153+This variable deprecates the :variable:`wsrep_causal_reads` variable. Setting :variable:`wsrep_sync_wait` to ``1`` is the equivalent of setting :variable:`wsrep_causal_reads` to ``ON``.

Subscribers

People subscribed via source and target branches