Merge lp:~hrvojem/percona-server/bug1026454-5.5 into lp:percona-server/5.5

Proposed by Hrvoje Matijakovic
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 278
Proposed branch: lp:~hrvojem/percona-server/bug1026454-5.5
Merge into: lp:percona-server/5.5
Diff against target: 123 lines (+11/-49)
5 files modified
doc/source/index.rst (+0/-1)
doc/source/reliability/show_slave_status_nolock.rst (+2/-2)
doc/source/scalability/innodb_adaptive_hash_index_partitions.rst (+1/-1)
doc/source/scalability/innodb_expand_undo_slots.rst (+0/-44)
doc/source/upgrading_guide_51_55.rst (+8/-1)
To merge this branch: bzr merge lp:~hrvojem/percona-server/bug1026454-5.5
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+116459@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/source/index.rst'
2--- doc/source/index.rst 2012-06-21 11:47:38 +0000
3+++ doc/source/index.rst 2012-07-24 12:13:26 +0000
4@@ -58,7 +58,6 @@
5 scalability/innodb_split_buf_pool_mutex
6 scalability/innodb_insert_buffer
7 scalability/innodb_io_55
8- scalability/innodb_expand_undo_slots
9 scalability/innodb_adaptive_hash_index_partitions
10 scalability/innodb_extra_rseg
11
12
13=== modified file 'doc/source/reliability/show_slave_status_nolock.rst'
14--- doc/source/reliability/show_slave_status_nolock.rst 2012-02-13 08:49:21 +0000
15+++ doc/source/reliability/show_slave_status_nolock.rst 2012-07-24 12:13:26 +0000
16@@ -8,9 +8,9 @@
17
18 If a ``STOP SLAVE`` command is given in this situation, it will wait and not complete execution until the long-executing thread has completed its task. If another thread now executes a ``SHOW SLAVE STATUS`` command while the STOP SLAVE command is waiting to complete, the ``SHOW SLAVE STATUS`` command will not be able to execute while the ``STOP SLAVE`` command is waiting.
19
20-This features modifies the ``SLOW SLAVE STATUS`` syntax to allow: ::
21+This features modifies the ``SHOW SLAVE STATUS`` syntax to allow: ::
22
23- SLOW SLAVE STATUS NOLOCK
24+ SHOW SLAVE STATUS NOLOCK
25
26 This will display the slave's status as if there were no lock, allowing the user to detect and understand the situation that is occurring.
27
28
29=== modified file 'doc/source/scalability/innodb_adaptive_hash_index_partitions.rst'
30--- doc/source/scalability/innodb_adaptive_hash_index_partitions.rst 2012-02-03 10:23:20 +0000
31+++ doc/source/scalability/innodb_adaptive_hash_index_partitions.rst 2012-07-24 12:13:26 +0000
32@@ -26,7 +26,7 @@
33 :dyn: No
34 :vartype: Numeric
35 :def: 1
36- :range: 0-MAXINT
37+ :range: 0-64, (on 32-bit platform 0-32)
38
39 Specifies the number of partitions to use in the adaptive hash search process.
40
41
42=== removed file 'doc/source/scalability/innodb_expand_undo_slots.rst'
43--- doc/source/scalability/innodb_expand_undo_slots.rst 2012-06-20 11:11:13 +0000
44+++ doc/source/scalability/innodb_expand_undo_slots.rst 1970-01-01 00:00:00 +0000
45@@ -1,44 +0,0 @@
46-.. _innodb_expand_undo_slots:
47-
48-======================================
49-More Concurrent Transactions Available
50-======================================
51-
52-|InnoDB| provides a fixed number of 1024 undo slots in its rollback segment, leaving room for 1024 transactions to run in parallel. If all the slots are used any new transaction will fail until a slot is freed, which can cause strange behaviors. This change provides a variable to expand the number of undo slots, up to 4072.
53-
54-This option is provided for servers that run out of undo slots. Use it if you find the following warning in the error log: ``Warning: cannot find a free slot for an undo log``.
55-
56-We discourage its use unless you get this warning, because it breaks compatibility with other programs. Specifically, it makes the datafiles unusable for ibbackup or for a |MySQL| server that is not run with this option.
57-
58-When you enable the option, the maximum number of undo slots is extended to 4072, instead of the default fixed value of 1024.
59-
60-You can then check whether the expanded slots (1025-4072) are used by starting :command:`mysqld` with ``innodb_extra_undoslots=OFF``:
61-
62- * If the expanded slots are used: :command:`mysqld` refuses to start and prints an error in the error log: ::
63-
64- InnoDB: Error: innodb_extra_undoslots option is disabled, but it was enabled before.
65- InnoDB: The datafile is not normal for mysqld and disabled innodb_extra_undoslots.
66- InnoDB: Enable innodb_extra_undoslots if it was enabled before, and
67- InnoDB: ### don't use this datafile with other mysqld or ibbackup! ###
68- InnoDB: Cannot continue operation for the safety. Calling exit(1).
69-
70- * If the expanded slots are not used: :command:`mysqld` starts and prints only a warning in the error log: ::
71-
72- InnoDB: Warning: innodb_extra_undoslots option is disabled, but it was enabled before.
73- InnoDB: But extended undo slots seem not used, so continue operation.
74-
75-
76-System Variables
77-----------------
78-
79-.. psdom:variable:: innodb_extra_undoslots
80-
81- :cli: Yes
82- :Conf: Yes
83- :scope: Global
84- :dyn: No
85- :vartype: BOOL
86- :def: OFF
87- :range: ON/OFF
88-
89-If ``ON``, expands the number of undo slots to 4072.
90
91=== modified file 'doc/source/upgrading_guide_51_55.rst'
92--- doc/source/upgrading_guide_51_55.rst 2012-07-18 06:25:14 +0000
93+++ doc/source/upgrading_guide_51_55.rst 2012-07-24 12:13:26 +0000
94@@ -20,6 +20,10 @@
95
96 * http://dev.mysql.com/doc/refman/5.5/en/upgrading-from-previous-series.html
97
98+
99+.. warning::
100+ Upgrade 5.1 to 5.5 on a crashed instance is not recommended. If the server instance has crashed, crash recovery should be run before proceeding with the upgrade.
101+
102 Changes in Server Configuration
103 ===============================
104
105@@ -165,7 +169,7 @@
106 Also, the variable innodb_file_io_threads has been replaced by innodb_read_io_threads and innodb_write_io_threads (these variables were already introduced in Percona Server 5.1). All of them defaults to 4, you should replace the old variable with the two new ones with the proper value (or delete it if the default - 4 - is acceptable).
107
108
109-Changes in Server Behaviour and Functioning
110+Changes in Server Behavior and Functioning
111 ===========================================
112
113 Privileges
114@@ -291,6 +295,9 @@
115
116 and proceed to do the modifications needed in your configuration file, as explained at the beginning of this guide.
117
118+.. note::
119+ For extra safety doing the slow InnoDB shutdown before the upgrade is recommended.
120+
121 Then install the new server with: ::
122
123 $ sudo apt-get install percona-server-server-5.5

Subscribers

People subscribed via source and target branches