MySQL 9.1.0
Source Code Documentation
|
#include "plugin/semisync/semisync_source.h"
#include <assert.h>
#include <time.h>
#include "my_byteorder.h"
#include "my_compiler.h"
#include "my_systime.h"
#include "sql/mysqld.h"
Macros | |
#define | TIME_THOUSAND 1000 |
#define | TIME_MILLION 1000000 |
#define | TIME_BILLION 1000000000 |
Functions | |
static int | getWaitTime (const struct timespec &start_ts) |
static unsigned long long | timespec_to_usec (const struct timespec *ts) |
#define TIME_BILLION 1000000000 |
#define TIME_MILLION 1000000 |
#define TIME_THOUSAND 1000 |
|
static |
|
static |
unsigned long rpl_semi_sync_source_avg_net_wait_time = 0 |
unsigned long rpl_semi_sync_source_avg_trx_wait_time = 0 |
unsigned long rpl_semi_sync_source_clients = 0 |
bool rpl_semi_sync_source_enabled |
unsigned long long rpl_semi_sync_source_net_wait_num = 0 |
unsigned long long rpl_semi_sync_source_net_wait_time = 0 |
unsigned long rpl_semi_sync_source_no_transactions = 0 |
unsigned long rpl_semi_sync_source_off_times = 0 |
char rpl_semi_sync_source_status = 0 |
unsigned long rpl_semi_sync_source_timefunc_fails = 0 |
unsigned long rpl_semi_sync_source_timeout |
unsigned long rpl_semi_sync_source_trace_level |
unsigned long long rpl_semi_sync_source_trx_wait_num = 0 |
unsigned long long rpl_semi_sync_source_trx_wait_time = 0 |
unsigned int rpl_semi_sync_source_wait_for_replica_count = 1 |
bool rpl_semi_sync_source_wait_no_replica = true |
unsigned long rpl_semi_sync_source_wait_pos_backtraverse = 0 |
unsigned long rpl_semi_sync_source_wait_sessions = 0 |
unsigned long rpl_semi_sync_source_wait_timeouts = 0 |
unsigned long rpl_semi_sync_source_yes_transactions = 0 |