This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use Plack::Builder; | |
use Plack::App::Directory; | |
use Munin::Master::Utils; | |
use Date::Manip; | |
use POSIX qw(strftime); | |
use File::Slurp; | |
my $GRAPHER = "/usr/share/munin/munin-graph"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- innobackupex.orig 2013-05-23 03:50:09.000000000 +0900 | |
+++ innobackupex 2013-06-19 19:15:00.000000000 +0900 | |
@@ -1593,10 +1593,19 @@ | |
print FILE "CHANGE MASTER TO MASTER_LOG_FILE='$filename', MASTER_LOG_POS=$position\n"; | |
close(FILE); | |
+ my $orig_datadir = get_option(\%config, 'mysqld', 'datadir'); | |
+ | |
if ($option_stream) { | |
+ system("cd $orig_datadir; $stream_cmd master.info") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- innobackupex.org 2012-04-04 03:49:34.000000000 +0900 | |
+++ innobackupex 2012-06-04 22:08:17.000000000 +0900 | |
@@ -1322,10 +1322,19 @@ | |
print FILE "CHANGE MASTER TO MASTER_LOG_FILE='$filename', MASTER_LOG_POS=$position\n"; | |
close(FILE); | |
+ my $orig_datadir = get_option(\%config, 'mysqld', 'datadir'); | |
+ | |
if ($option_stream) { | |
+ system("cd $orig_datadir; $stream_cmd master.info") |