Live events distribution to slaves has been removed

New CS_WAIT_DATA allows slave to receive notifications for live events.

There is no longer event distribution from blr_master.c
This commit is contained in:
MassimilianoPinto
2016-08-24 12:13:35 +02:00
parent e231236cee
commit 3e336323e8
4 changed files with 102 additions and 507 deletions

View File

@ -33,6 +33,8 @@
* 26/04/16 Massimiliano Pinto Added MariaDB 10.0 and 10.1 GTID event flags detection
* 11/07/16 Massimiliano Pinto Added SSL backend support
* 22/07/16 Massimiliano Pinto Added Semi-Sync replication support
* 24/08/16 Massimiliano Pinto Added slave notification state CS_WAIT_DATA.
* State CS_UPTODATE removed.
*
* @endverbatim
*/
@ -590,13 +592,10 @@ static char *blrs_states[] =
/**
* Slave catch-up status
*/
#define CS_UPTODATE 0x0004
#define CS_EXPECTCB 0x0008
#define CS_DIST 0x0010
#define CS_DISTLATCH 0x0020
#define CS_THRDWAIT 0x0040
#define CS_BUSY 0x0100
#define CS_HOLD 0x0200
#define CS_UNDEFINED 0x0000
#define CS_EXPECTCB 0x0004
#define CS_WAIT_DATA 0x0020
#define CS_BUSY 0x0040
/**
* MySQL protocol OpCodes needed for replication