We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c19f78 commit 62f2b03Copy full SHA for 62f2b03
mysqltuner.pl
@@ -6178,6 +6178,8 @@ sub mariadb_galera {
6178
if ( defined( $myvar{'wsrep_applier_threads'} ) ) {
6179
$wsrep_threads_var_name = 'wsrep_applier_threads';
6180
}
6181
+ # Use 1 as a fallback if $myvar{$wsrep_threads_var_name} is undefined or zero,
6182
+ # to ensure there is at least one thread for Galera replication.
6183
my $wsrep_threads_value = $myvar{$wsrep_threads_var_name} || 1;
6184
6185
infoprint "$wsrep_threads_var_name: " . $wsrep_threads_value;
0 commit comments