Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Fix a porting bug with semi_sync histograms. Squash with D21832889 Test Plan: Verify histogram reporting ``` mysql> show global status like 'rpl_semi_sync_master%'; +---------------------------------------------------------+-------+ | Variable_name | Value | +---------------------------------------------------------+-------+ | Rpl_semi_sync_master_clients | 1 | | Rpl_semi_sync_master_net_avg_wait_time | 0 | | Rpl_semi_sync_master_net_wait_time | 0 | | Rpl_semi_sync_master_net_waits | 3 | | Rpl_semi_sync_master_no_times | 0 | | Rpl_semi_sync_master_no_tx | 0 | | Rpl_semi_sync_master_status | ON | | Rpl_semi_sync_master_timefunc_failures | 0 | | Rpl_semi_sync_master_trx_wait_histogram_0-500us | 3 | | Rpl_semi_sync_master_trx_wait_histogram_500-1500us | 0 | | Rpl_semi_sync_master_trx_wait_histogram_1500-3500us | 0 | | Rpl_semi_sync_master_trx_wait_histogram_3500-7500us | 0 | | Rpl_semi_sync_master_trx_wait_histogram_7500-15500us | 0 | | Rpl_semi_sync_master_trx_wait_histogram_15500-31500us | 0 | | Rpl_semi_sync_master_trx_wait_histogram_31500-63500us | 0 | | Rpl_semi_sync_master_trx_wait_histogram_63500-127500us | 0 | | Rpl_semi_sync_master_trx_wait_histogram_127500-255500us | 0 | | Rpl_semi_sync_master_trx_wait_histogram_255500-MAXus | 0 | | Rpl_semi_sync_master_tx_avg_wait_time | 769 | | Rpl_semi_sync_master_tx_wait_time | 2308 | | Rpl_semi_sync_master_tx_waits | 3 | | Rpl_semi_sync_master_wait_pos_backtraverse | 0 | | Rpl_semi_sync_master_wait_sessions | 0 | | Rpl_semi_sync_master_yes_tx | 3 | +---------------------------------------------------------+-------+ 24 rows in set (0.00 sec) ``` Reviewers: luqun, mung, yoshinori, junyilu, greynya Reviewed By: greynya Subscribers: pgl, [email protected] Differential Revision: https://phabricator.intern.facebook.com/D40964563
- Loading branch information