Merge lp:~hrvojem/percona-server/bug1406482-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: 729
Proposed branch: lp:~hrvojem/percona-server/bug1406482-5.5
Merge into: lp:percona-server/5.5
Diff against target: 29 lines (+6/-2)
1 file modified
doc/source/reliability/crash_resistant_replication.rst (+6/-2)
To merge this branch: bzr merge lp:~hrvojem/percona-server/bug1406482-5.5
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+246568@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

The page now mentions the Percona option several times without the MySQL option. It also does not really have a section on how to enable the feature, so I suggest to add a section "Use" before "Restrictions": "To enable the feature, the following options need to be enabled together: innodb_recovery_update_relay_log, and relay_log_recovery (link).". Then, when one option is mentioned, the other should be mentioned too if it makes sense, i.e. in the Restrictions section.

Please also make sure the page use the new Percona option name consistently, it still mentions innodb_overwrite_relay_log_info.

review: Needs Fixing
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/reliability/crash_resistant_replication.rst'
2--- doc/source/reliability/crash_resistant_replication.rst 2013-05-27 13:46:13 +0000
3+++ doc/source/reliability/crash_resistant_replication.rst 2015-01-16 13:25:49 +0000
4@@ -10,11 +10,15 @@
5
6 The improvement in |Percona Server| makes |InnoDB| store the replication position transactionally, and overwrite the usual relay_log.info file upon recovery, so replication restarts from the correct position and does not try to re-execute committed transactions. This change greatly improves the durability of |MySQL| replication. It can be set to activate automatically, so replication “just works” and no intervention is necessary after a crash.
7
8+Use
9+===
10+
11+To enable the feature, the following options need to be enabled together: :variable:`innodb_recovery_update_relay_log`, and `relay_log_recovery <https://dev.mysql.com/doc/refman/5.5/en/replication-options-slave.html#option_mysqld_relay-log-recovery>`_.
12
13 Restrictions
14 ============
15
16-When :variable:`innodb_overwrite_relay_log_info` is enabled, you should only update |InnoDB| / |XtraDB| tables, not |MyISAM| tables or other storage engines.
17+When both :variable:`innodb_recovery_update_relay_log` and `relay_log_recovery <https://dev.mysql.com/doc/refman/5.5/en/replication-options-slave.html#option_mysqld_relay-log-recovery>`_ are enabled, you should only update |InnoDB| / |XtraDB| tables, not |MyISAM| tables or other storage engines.
18 You should not use relay or binary log filenames longer than 480 characters (normal: up to 512). If longer, the replication position information is not recorded in |InnoDB|.
19
20 Example Server Error Log Output
21@@ -33,7 +37,7 @@
22 If this feature is enabled, the output will look like the following, with additional lines prefixed with a ``+`` symbol: ::
23
24 ....
25- + InnoDB: Warning: innodb_overwrite_relay_log_info is enabled. Updates of other storage engines may have problem of consistency.
26+ + InnoDB: Warning: innodb_recovery_update_relay_log is enabled. Updates of other storage engines may have problem of consistency.
27 + InnoDB: relay-log.info is detected.
28 + InnoDB: relay log: position 429, file name ./gauntlet3-relay-bin.000111
29 + InnoDB: master log: position 280, file name gauntlet3-bin.000015

Subscribers

People subscribed via source and target branches