File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -5063,22 +5063,22 @@ sub mariadb_galera {
50635063 push @adjvars , " innodb_autoinc_lock_mode should be 2 when using parallel slave" ;
50645064 }
50655065 }
5066-
5067- if (get_wsrep_option(' gcs.limit ' ) != get_wsrep_option( ' wsrep_slave_threads' ) * 5 ) {
5068- badprint " gcs.limit should be equal to 5 * wsrep_slave_threads" ;
5069- push @adjvars , " gcs.limit = wsrep_slave_threads * 5" ;
5066+
5067+ if (get_wsrep_option(' gcs.fc_limit ' ) != $myvar { ' wsrep_slave_threads' } * 5 ) {
5068+ badprint " gcs.fc_limit should be equal to 5 * wsrep_slave_threads" ;
5069+ push @adjvars , " gcs.fc_limit = wsrep_slave_threads * 5" ;
50705070 }
50715071 else {
5072- goodprint " gcs.limit is equal to 5 * wsrep_slave_threads" ;
5072+ goodprint " gcs.fc_limit is equal to 5 * wsrep_slave_threads" ;
50735073 }
5074- if (get_wsrep_option(' gcs.fc_factor' ) = = 0.8 ) {
5074+ if (get_wsrep_option(' gcs.fc_factor' ) ! = 0.8 ) {
50755075 badprint " gcs.fc_factor should be equal to 0.8" ;
50765076 push @adjvars , " gcs.fc_factor=0.8" ;
50775077 }
50785078 else {
5079- goodprint " gcs.limit is equal to 5 * wsrep_slave_threads " ;
5079+ goodprint " gcs.fc_factor is equal to 0.8 " ;
50805080 }
5081- if (get_wsrep_option( ' wsrep_flow_control_paused' ) > 0.02) {
5081+ if ($mystat { ' wsrep_flow_control_paused' } > 0.02) {
50825082 badprint " Fraction of time node pause flow control > 0.02" ;
50835083 }
50845084 else {
You can’t perform that action at this time.
0 commit comments