MariaDB GTID mode #272

This commit is contained in:
root 2016-11-28 17:39:41 +01:00
parent c2f2d6591c
commit eac905b632

View file

@ -525,9 +525,9 @@ sub validate_tuner_version {
debugprint "$httpcli is available."; debugprint "$httpcli is available.";
debugprint debugprint
"$httpcli -e timestamping=off -T 5 -O - '$url' 2>$devnull| grep 'my \$tunerversion'| cut -d\\\" -f2"; "$httpcli -e timestamping=off -t 1 -T 5 -O - '$url' 2>$devnull| grep 'my \$tunerversion'| cut -d\\\" -f2";
$update = $update =
`$httpcli -e timestamping=off -T 5 -O - '$url' 2>$devnull| grep 'my \$tunerversion'| cut -d\\\" -f2`; `$httpcli -e timestamping=off -t 1 -T 5 -O - '$url' 2>$devnull| grep 'my \$tunerversion'| cut -d\\\" -f2`;
chomp($update); chomp($update);
compare_tuner_version($update); compare_tuner_version($update);
return; return;
@ -1025,6 +1025,10 @@ sub get_all_vars {
$myvar{'have_innodb'} = "NO"; $myvar{'have_innodb'} = "NO";
} }
# Support GTID MODE FOR MARIADB
# Issue MariaDB GTID mode #272
$myvar{'gtid_mode'}=$myvar{'gtid_strict_mode'} if (defined($myvar{'gtid_strict_mode'}));
$myvar{'have_threadpool'} = "NO"; $myvar{'have_threadpool'} = "NO";
if ( defined( $myvar{'thread_pool_size'} ) if ( defined( $myvar{'thread_pool_size'} )
and $myvar{'thread_pool_size'} > 0 ) and $myvar{'thread_pool_size'} > 0 )
@ -2466,7 +2470,6 @@ sub mysql_stats {
} }
# Memory usage # Memory usage
infoprint "Physical Memory : " . hr_bytes($physical_memory); infoprint "Physical Memory : " . hr_bytes($physical_memory);
infoprint "Max MySQL memory : " . hr_bytes( $mycalc{'max_peak_memory'} ); infoprint "Max MySQL memory : " . hr_bytes( $mycalc{'max_peak_memory'} );
infoprint "Other process memory: " . hr_bytes( get_other_process_memory() ); infoprint "Other process memory: " . hr_bytes( get_other_process_memory() );