Merge lp:~hrvojem/percona-xtradb-cluster/rn-5.5.34-25.9 into lp:percona-xtradb-cluster/percona-xtradb-cluster-5.5

Proposed by Hrvoje Matijakovic
Status: Merged
Approved by: Raghavendra D Prabhu
Approved revision: no longer in the source branch.
Merged at revision: 589
Proposed branch: lp:~hrvojem/percona-xtradb-cluster/rn-5.5.34-25.9
Merge into: lp:percona-xtradb-cluster/percona-xtradb-cluster-5.5
Diff against target: 256 lines (+91/-49)
10 files modified
doc-pxc/source/conf.py (+5/-5)
doc-pxc/source/errata.rst (+0/-4)
doc-pxc/source/howtos/kewpietests.rst (+0/-35)
doc-pxc/source/index.rst (+0/-1)
doc-pxc/source/installation.rst (+1/-1)
doc-pxc/source/installation/apt_repo.rst (+7/-1)
doc-pxc/source/installation/yum_repo.rst (+1/-1)
doc-pxc/source/manual/xtrabackup_sst.rst (+7/-0)
doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.5.34-25.9.rst (+68/-0)
doc-pxc/source/release-notes/release-notes_index.rst (+2/-1)
To merge this branch: bzr merge lp:~hrvojem/percona-xtradb-cluster/rn-5.5.34-25.9
Reviewer Review Type Date Requested Status
Raghavendra D Prabhu (community) Approve
Review via email: mp+197212@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Approved after discussion.

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

Following need to be removed from errata:
=======================================================

wsrep_causal_reads being ON can introduce temporary stalls due to MDL lock conflicts.

bug #1226185: percona-xtrabackup-20 may get installed as a dependency instead of latest percona-xtrabackup during a fresh install due to certain yum issues. Workaround is documented here - https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1226185/comments/2.

bug #1217426: When empty test directory is present on donor, it is not created on joiner, so when tables are created after SST on donor, the joiner later on will fail with inconsistency. Workaround is to either drop the test database or populate it with a table before SST. This is currently a limitation of Xtrabackup itself, hence, needs to be fixed there.

bug #1098566: innodb_data_home_dir is not supported. Depends on bug #1164945 for the fix.

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 2013-09-16 10:28:41 +0000
+++ doc-pxc/source/conf.py 2013-12-03 12:55:58 +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.5.33'56version = '5.5.34'
57# The full version, including alpha/beta/rc tags.57# The full version, including alpha/beta/rc tags.
58release = '5.5.33-23.7.6'58release = '5.5.34-25.9'
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.
@@ -168,10 +168,10 @@
168168
169# The name for this set of Sphinx documents. If None, it defaults to169# The name for this set of Sphinx documents. If None, it defaults to
170# "<project> v<release> documentation".170# "<project> v<release> documentation".
171html_title = 'Percona XtraDB Cluster Documentation'171html_title = 'Percona XtraDB Cluster 5.5 Documentation'
172172
173# A shorter title for the navigation bar. Default is the same as html_title.173# A shorter title for the navigation bar. Default is the same as html_title.
174html_short_title = 'XtraDB Cluster Docs'174html_short_title = 'Percona XtraDB Cluster 5.5 Documentation'
175175
176# The name of an image file (relative to this directory) to place at the top176# The name of an image file (relative to this directory) to place at the top
177# of the sidebar.177# of the sidebar.
@@ -244,7 +244,7 @@
244# Grouping the document tree into LaTeX files. List of tuples244# Grouping the document tree into LaTeX files. List of tuples
245# (source start file, target name, title, author, documentclass [howto/manual]).245# (source start file, target name, title, author, documentclass [howto/manual]).
246latex_documents = [246latex_documents = [
247 ('index', 'PerconaXtraDBCluster.tex', u'Percona XtraDB Cluster Documentation',247 ('index', 'PerconaXtraDBCluster-5.5.tex', u'Percona XtraDB Cluster 5.5 Documentation',
248 u'2012-2013, Percona LLC and/or its affiliates', 'manual'),248 u'2012-2013, Percona LLC and/or its affiliates', 'manual'),
249]249]
250250
251251
=== modified file 'doc-pxc/source/errata.rst'
--- doc-pxc/source/errata.rst 2013-11-25 14:54:46 +0000
+++ doc-pxc/source/errata.rst 2013-12-03 12:55:58 +0000
@@ -8,12 +8,8 @@
8-------------8-------------
99
10Following are issues which may impact you while running PXC:10Following are issues which may impact you while running PXC:
11 - wsrep_causal_reads being ON can introduce temporary stalls due to MDL lock conflicts.
12 - Create Table As Select (CTAS) can cause deadlocks and server hang when used with explicit TEMPORARY tables.11 - Create Table As Select (CTAS) can cause deadlocks and server hang when used with explicit TEMPORARY tables.
13 - bug :bug:`1226185`: percona-xtrabackup-20 may get installed as a dependency instead of latest percona-xtrabackup during a fresh install due to certain yum issues. Workaround is documented here - https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1226185/comments/2.
14 - bug :bug:`1192834`: Joiner may crash after SST from donor with compaction enabled. Workaround is to disable the index compaction (compact under [xtrabackup]), if enabled. This crash requires specific configuration, hence you may not be affected. Also, this doesn't require any fix from PXC, but Xtrabackup with the fix included should do.12 - bug :bug:`1192834`: Joiner may crash after SST from donor with compaction enabled. Workaround is to disable the index compaction (compact under [xtrabackup]), if enabled. This crash requires specific configuration, hence you may not be affected. Also, this doesn't require any fix from PXC, but Xtrabackup with the fix included should do.
15 - bug :bug:`1217426`: When empty test directory is present on donor, it is not created on joiner, so when tables are created after SST on donor, the joiner later on will fail with inconsistency. Workaround is to either drop the test database or populate it with a table before SST. This is currently a limitation of Xtrabackup itself, hence, needs to be fixed there.
16 - bug :bug:`1098566`: :variable:`innodb_data_home_dir` is not supported. Depends on bug :bug:`1164945` for the fix.
17 - For Debian/Ubuntu users: |Percona XtraDB Cluster| :rn:`5.5.33-23.7.6` onwards has a new dependency, the ``socat`` package. If the ``socat`` is not previously installed, ``percona-xtradb-cluster-server-5.5`` may be held back. In order to upgrade, you need to either install ``socat`` before running the ``apt-get upgrade`` or with the following command: ``apt-get install percona-xtradb-cluster-server-5.5``. For *Ubuntu* users the ``socat`` package is in the universe repository, so the repository will have to be enabled in order to install the package.13 - For Debian/Ubuntu users: |Percona XtraDB Cluster| :rn:`5.5.33-23.7.6` onwards has a new dependency, the ``socat`` package. If the ``socat`` is not previously installed, ``percona-xtradb-cluster-server-5.5`` may be held back. In order to upgrade, you need to either install ``socat`` before running the ``apt-get upgrade`` or with the following command: ``apt-get install percona-xtradb-cluster-server-5.5``. For *Ubuntu* users the ``socat`` package is in the universe repository, so the repository will have to be enabled in order to install the package.
1814
1915
2016
=== removed file 'doc-pxc/source/howtos/kewpietests.rst'
--- doc-pxc/source/howtos/kewpietests.rst 2012-06-27 10:05:05 +0000
+++ doc-pxc/source/howtos/kewpietests.rst 1970-01-01 00:00:00 +0000
@@ -1,35 +0,0 @@
1===========================
2How to Execute Kewpie Tests
3===========================
4
5To use kewpie for testing it's recommended to use `this MP <https://code.launchpad.net/~patrick-crews/percona-xtradb-cluster/qp-integrate/+merge/93648>`_. As it removes dbqp and integrates kewpie (and cuts size down to 25MB from 400+).
6To execute tests:
7
8.. code-block:: bash
9
10 cd kewpie ; ./kewpie.py [--force ] [--libeatmydata] [--wsrep-provider-path=...]
11
12The defaults are to run the cluster_basic and cluster_randgen suites against a 3 node cluster. Cluster_basic is used for small atomic tests like ADD/DROP single/multiple columns on a table and ensuring the change is replicated. cluster_randgen is used for high stress transactional loads. There are single and multi-threaded variants. The load is a mix of INSERT/UPDATE/DELETE/SELECT statements. This includes both regular transactions, single queries, ROLLBACK's and SAVEPOINTs, and a mix of good and bad SQL statements.
13
14To view all options, one may look at "./kewpie.py --help". Basic documentation is also available as sphinx docs in kewpie/docs folder. Here are the some of the most used options:
15
16.. option:: --force
17
18 Run all tests despite failures (default is to stop test execution on first failure)
19
20.. option:: --libeatmydata
21
22 Use libeatmydata if installed. This can greatly speed up testing in many cases. Can be used in conjunction with:
23
24.. option:: --libeatmydata-path to specify where the library is located.
25
26.. option:: --wsrep-provider-path
27
28 By default, we expect / look for it in /usr/lib/galera/libgalera_smm.so (where it ends up via 'make install'...at least on Ubuntu). If one has an alternate library/location, specify it with this option.
29
30Any additional suites may be run this way:
31
32.. code-block:: bash
33
34 ./kewpie.py [options] --suite=any/suitedir/from/kewpie/percona_tests
35 ./kewpie.py --suite=crashme
360
=== modified file 'doc-pxc/source/index.rst'
--- doc-pxc/source/index.rst 2013-09-17 12:05:56 +0000
+++ doc-pxc/source/index.rst 2013-12-03 12:55:58 +0000
@@ -86,7 +86,6 @@
86 howtos/3nodesec286 howtos/3nodesec2
87 howtos/haproxy87 howtos/haproxy
88 howtos/virt_sandbox88 howtos/virt_sandbox
89 howtos/kewpietests
90 howtos/bugreport89 howtos/bugreport
9190
92Reference91Reference
9392
=== modified file 'doc-pxc/source/installation.rst'
--- doc-pxc/source/installation.rst 2013-11-22 03:47:13 +0000
+++ doc-pxc/source/installation.rst 2013-12-03 12:55:58 +0000
@@ -33,7 +33,7 @@
3333
34Once the repository is set up, use the following commands: ::34Once the repository is set up, use the following commands: ::
3535
36 $ yum install Percona-XtraDB-Cluster-server Percona-XtraDB-Cluster-client36 $ yum install Percona-XtraDB-Cluster-server-55 Percona-XtraDB-Cluster-client-55 Percona-XtraDB-Cluster-galera-2
3737
38More detailed example of the |Percona XtraDB Cluster| installation and configuration can be seen in :ref:`centos_howto` tutorial.38More detailed example of the |Percona XtraDB Cluster| installation and configuration can be seen in :ref:`centos_howto` tutorial.
3939
4040
=== modified file 'doc-pxc/source/installation/apt_repo.rst'
--- doc-pxc/source/installation/apt_repo.rst 2013-11-22 03:47:13 +0000
+++ doc-pxc/source/installation/apt_repo.rst 2013-12-03 12:55:58 +0000
@@ -48,7 +48,13 @@
48Following command will install Cluster packages: :: 48Following command will install Cluster packages: ::
4949
50 $ sudo apt-get install percona-xtradb-cluster-client-5.5 \50 $ sudo apt-get install percona-xtradb-cluster-client-5.5 \
51 percona-xtradb-cluster-server-5.5 percona-xtrabackup percona-xtradb-cluster-galera-2.x51 percona-xtradb-cluster-server-5.5 percona-xtradb-cluster-galera-2.x
52
53.. note::
54
55 When doing the package upgrade on debian, you need to specify the all the packages or do the ``dist-upgrade``, otherwise some packages will be held back during the upgrade: ::
56
57 $ apt-get install percona-xtradb-cluster-galera-2.x percona-xtradb-cluster-server-5.5 percona-xtradb-cluster-client-5.5
5258
53Percona `apt` Experimental repository59Percona `apt` Experimental repository
54=====================================60=====================================
5561
=== modified file 'doc-pxc/source/installation/yum_repo.rst'
--- doc-pxc/source/installation/yum_repo.rst 2013-03-12 09:32:01 +0000
+++ doc-pxc/source/installation/yum_repo.rst 2013-12-03 12:55:58 +0000
@@ -30,7 +30,7 @@
3030
31Following command will install Cluster packages: ::31Following command will install Cluster packages: ::
3232
33 $ yum install Percona-XtraDB-Cluster-server Percona-XtraDB-Cluster-client xtrabackup33 $ yum install Percona-XtraDB-Cluster-server-55 Percona-XtraDB-Cluster-client-55 Percona-XtraDB-Cluster-galera-2
3434
35Percona `yum` Experimental repository35Percona `yum` Experimental repository
36=====================================36=====================================
3737
=== modified file 'doc-pxc/source/manual/xtrabackup_sst.rst'
--- doc-pxc/source/manual/xtrabackup_sst.rst 2013-11-04 12:43:19 +0000
+++ doc-pxc/source/manual/xtrabackup_sst.rst 2013-12-03 12:55:58 +0000
@@ -151,6 +151,13 @@
151151
152**NOTE:** This option can only be used when :variable:`wsrep_sst_method` is set to xtrabackup-v2.152**NOTE:** This option can only be used when :variable:`wsrep_sst_method` is set to xtrabackup-v2.
153153
154.. option:: sst_special_dirs
155
156 :Values: 0,1
157 :Default: 0
158
159In order for XtraBackup SST to support :variable:`innodb_data_home_dir` and :variable:`innodb_log_home_dir` variables in the configuration file this option was introduced in |Percona XtraDB Cluster| :rn:`5.5.34-25.9`. This requires sst-special-dirs to be set under [sst] in the configuration file to either 0 or 1. Also, :variable:`innodb-data-home-dir` and/or :variable:`innodb-log-group-home-dir` need to be defined in :file:`my.cnf` under [mysqld]. |Percona Xtrabackup| 2.1.6 or higher is required in order for this to work.
160
154.. _tar_ag_xbstream:161.. _tar_ag_xbstream:
155162
156Tar against xbstream163Tar against xbstream
157164
=== added file 'doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.5.34-25.9.rst'
--- doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.5.34-25.9.rst 1970-01-01 00:00:00 +0000
+++ doc-pxc/source/release-notes/Percona-XtraDB-Cluster-5.5.34-25.9.rst 2013-12-03 12:55:58 +0000
@@ -0,0 +1,68 @@
1.. rn:: 5.5.34-25.9
2
3======================================
4 |Percona XtraDB Cluster| 5.5.34-25.9
5======================================
6
7Percona is glad to announce the release of |Percona XtraDB Cluster| on December 3rd, 2013. Binaries are available from `downloads area <http://www.percona.com/downloads/Percona-XtraDB-Cluster/5.5.34-25.9/>`_ or from our :doc:`software repositories </installation>`.
8
9This is an General Availability release. We did our best to eliminate bugs and problems during the testing release, but this is a software, so bugs are expected. If you encounter them, please report them to our `bug tracking system <https://bugs.launchpad.net/percona-xtradb-cluster/+filebug>`_.
10
11
12New Features
13============
14
15 |Percona XtraDB Cluster| is now based on wsrep API 25 and Galera 25.2.x.
16
17 Limited support for Query Cache has been implemented. Query cache cannot still be fully enabled during the startup. To enable query cache, ``mysqld`` should be started with ``query_cache_type=1`` and ``query_cache_size=0`` and then query_cache_size should be changed to desired value during runtime.
18
19 ``RPM`` packages are now made `relocatable <http://rpm5.org/docs/api/relocatable.html>`_ which means they now support installation to custom prefixes.
20
21 XtraBackup SST now supports :variable:`innodb_data_home_dir` and :variable:`innodb_log_home_dir` in the configuration file.
22
23 The binaries are now statically linked with regard to ``Galera`` library which depended on ``OpenSSL`` library.
24
25Bugs fixed
26==========
27
28 Product suffix has been added to the |Percona XtraDB Cluster| ``rpm`` packages, which means that packages have been renamed from ``Percona-XtraDB-Cluster-server`` to ``Percona-XtraDB-Cluster-server-55``. Bug fixed :bug:`1255616`.
29
30 Fixed the dependency issue which caused Percona XtraDB Cluster 5.5 installation to fail on *Ubuntu* 12.04. Bug fixed :bug:`1247861`.
31
32 When installing first ``Percona-XtraDB-Cluster-client`` and then ``Percona-XtraDB-Cluster-server`` on two single statements or a single statement with both packages , yum would install ``percona-xtrabackup-20`` instead ``percona-xtrabackup`` package as dependency of ``Percona-XtraDB-Cluster-server``. Bug fixed :bug:`1226185`.
33
34 If ``SELECT FOR UPDATE...`` query was aborted due to multi-master conflict, the client wouldn't get back the deadlock error. From client perspective the transaction would be successful. Bug fixed :bug:`1187739`.
35
36 Temporary tables are not replicated, but any DDL on those tables were (in this case it was ``TRUNCATE``), which would generates error messages on other nodes. Bug fixed :bug:`1194156`.
37
38 When setting the :variable:`gcache.size` to a larger value than the default 128M, the mysql service command did not allow enough time for the file to be preallocated. Bug fixed :bug:`1207500`.
39
40 ``CREATE TABLE AS SELECT`` would fail with explicit temporary tables, when binlogging was enabled and :variable:`autocommit` was set to ``0``. Bug fixed :bug:`1240098`.
41
42 Write set flags defined in wsrep API are now exposed to application side appliers too. Bug fixed :bug:`1247402`.
43
44 Local brute force aborts are counted accurately. Bug fixed :bug:`1247971`.
45
46 Certain combinations of transaction rollbacks could leave stale transactional ``MDL`` locks and cause deadlocks. Bug fixed :bug:`1247978`.
47
48 After turning ``UNIV_SYNC_DEBUG`` on, node that was started from clean state would crash immediately at startup. Bug fixed :bug:`1248908`.
49
50 Server built with ``UNIV_SYNC_DEBUG`` would assert if SQL load has ``DELETE`` statements on tables with foreign key constraints with ``ON DELETE CASCADE`` option. Bug fixed :bug:`1248921`.
51
52 Xtrabackup SST dependencies have been added as ``Suggested`` dependencies for *DEB* packages. Bug fixed :bug:`1250326`.
53
54 ``init stop`` script on *CentOS* didn't wait for the server to be fully stopped. This would cause unsuccessful server restart because the ``start`` action would fail because the daemon would still be running. Bug fixed :bug:`1254153`.
55
56 Memory leak in ``mem_root`` has been fixed. Bug fixed :bug:`1249753`.
57
58 Galera is now packaged with garbd init script. Bug fixed :bug:`1256769`.
59
60Other bugs fixed: bug fixed :bug:`1247980`, bug fixed :bug:`891476`, bugs fixed :bug:`1250805`, bug fixed :bug:`1253923`.
61
62.. note::
63
64 Because some package names have been changed with the product suffix and and additional dependencies being added please check the :ref:`manual <installation>` before starting new installations. *Debian* users are requested to use ``apt-get dist-upgrade`` or ``apt-get install`` for upgrade, for more refer to installation :ref:`guide <apt-repo>`.
65
66Based on `Percona Server 5.5.34-32.0 <http://www.percona.com/doc/percona-server/5.5/release-notes/Percona-Server-5.5.34-32.0.html>`_ including all the bug fixes in it, `Galera Replicator <https://launchpad.net/galera/+milestone/25.2.8>`_ and on `Codership wsrep API 5.5.34-25.9 <https://launchpad.net/codership-mysql/+milestone/5.5.34-25.9>`_, |Percona XtraDB Cluster| `5.5.34-25.9 <https://launchpad.net/percona-xtradb-cluster/+milestone/5.5.34-25.9>`_ is now the current stable release. All of |Percona|'s software is open-source and free.
67
68|Percona XtraDB Cluster| `Errata <http://www.percona.com/doc/percona-xtradb-cluster/errata.html>`_ can be found in our documentation.
069
=== modified file 'doc-pxc/source/release-notes/release-notes_index.rst'
--- doc-pxc/source/release-notes/release-notes_index.rst 2013-11-04 10:19:08 +0000
+++ doc-pxc/source/release-notes/release-notes_index.rst 2013-12-03 12:55:58 +0000
@@ -5,7 +5,8 @@
5.. toctree::5.. toctree::
6 :maxdepth: 16 :maxdepth: 1
7 :glob:7 :glob:
88
9 Percona-XtraDB-Cluster-5.5.34-25.9
9 Percona-XtraDB-Cluster-5.5.34-23.7.610 Percona-XtraDB-Cluster-5.5.34-23.7.6
10 Percona-XtraDB-Cluster-5.5.33-23.7.611 Percona-XtraDB-Cluster-5.5.33-23.7.6
11 Percona-XtraDB-Cluster-5.5.31-23.7.512 Percona-XtraDB-Cluster-5.5.31-23.7.5

Subscribers

People subscribed via source and target branches