Skip to content
This repository was archived by the owner on May 14, 2018. It is now read-only.

Commit 90be0cf

Browse files
author
Jay Janssen
committed
disable flush status for wsrep
1 parent 9a44022 commit 90be0cf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

myq_status

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -753,11 +753,11 @@ sub process_global_status {
753753
( &format_number( &counter_diff( 'wsrep_flow_control_sent' ), 0, 3 ) > 0 ? '*' : '' ),
754754
);
755755

756-
if ($status->{'wsrep_cluster_status'} eq 'Primary' and
757-
$status->{'wsrep_local_state_comment'} !~ m/^Join/ ) {
758-
# This helps keep things like wsrep_apply_window and others fresh for Galera polling
759-
&mysql_call( "FLUSH STATUS" );
760-
}
756+
# if ($status->{'wsrep_cluster_status'} eq 'Primary' and
757+
# $status->{'wsrep_local_state_comment'} !~ m/^Join/ ) {
758+
# # This helps keep things like wsrep_apply_window and others fresh for Galera polling
759+
# &mysql_call( "FLUSH STATUS" );
760+
# }
761761

762762
} elsif( $MODE eq 'wsrep_latency' ) {
763763
printf( "%s / %s (idx: %d) / %s %s\n", $variables->{'wsrep_cluster_name'}, $variables->{'wsrep_node_name'}, $status->{'wsrep_local_index'}, $status->{'wsrep_provider_name'}, $status->{'wsrep_provider_version'}

0 commit comments

Comments
 (0)