Protect updating of router when rotating.
When rotating, all state variables of router are now updated while protected by the router->binlog_lock lock.
This commit is contained in:
@ -48,6 +48,7 @@
|
||||
#define BINLOG_FNAMELEN 255
|
||||
#define BLR_PROTOCOL "MySQLBackend"
|
||||
#define BINLOG_MAGIC { 0xfe, 0x62, 0x69, 0x6e }
|
||||
#define BINLOG_MAGIC_SIZE 4
|
||||
#define BINLOG_NAMEFMT "%s.%06d"
|
||||
#define BINLOG_NAME_ROOT "mysql-bin"
|
||||
|
||||
|
Reference in New Issue
Block a user