Merge branch 'develop' into 1.2.1-binlog_router_trx
This commit is contained in:
		@ -8,11 +8,7 @@ This section describes the limitations that are common to all configuration of p
 | 
			
		||||
 | 
			
		||||
## Limitations with MySQL Protocol support
 | 
			
		||||
 | 
			
		||||
* Compression
 | 
			
		||||
 | 
			
		||||
* SSL
 | 
			
		||||
 | 
			
		||||
Both capabilities are not included in MySQL server handshake
 | 
			
		||||
Compression is not included in MySQL server handshake
 | 
			
		||||
 | 
			
		||||
## Limitations with MySQL Master/Slave Replication monitoring
 | 
			
		||||
 | 
			
		||||
@ -22,7 +18,9 @@ Master selection is based only on MIN(wsrep_local_index), no other server parame
 | 
			
		||||
 | 
			
		||||
## Limitations in the connection router
 | 
			
		||||
 | 
			
		||||
If Master changes (ie. new Master promotion) during current connection the router cannot  check the change
 | 
			
		||||
* If Master changes (ie. new Master promotion) during current connection the router cannot check the change
 | 
			
		||||
 | 
			
		||||
* LONGBLOB is not supported
 | 
			
		||||
 | 
			
		||||
## Limitations in the Read/Write Splitter
 | 
			
		||||
 | 
			
		||||
@ -93,4 +91,3 @@ Most imaginable reasons are related to replication lag but it could be possible
 | 
			
		||||
## Authentication Related Limitations
 | 
			
		||||
 | 
			
		||||
MySQL old passwords are not supported
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1649,7 +1649,7 @@ int main(int argc, char **argv)
 | 
			
		||||
 | 
			
		||||
			if(errno != EEXIST){
 | 
			
		||||
				fprintf(stderr,
 | 
			
		||||
						"Error: Cannot create data directory: %s\n",datadir);
 | 
			
		||||
						"Error: Cannot create data directory '%s': %d %s\n",datadir,errno,strerror(errno));
 | 
			
		||||
				goto return_main;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
@ -1660,7 +1660,7 @@ int main(int argc, char **argv)
 | 
			
		||||
 | 
			
		||||
			if(errno != EEXIST){
 | 
			
		||||
				fprintf(stderr,
 | 
			
		||||
						"Error: Cannot create data directory: %s\n",datadir);
 | 
			
		||||
						"Error: Cannot create data directory '%s': %d %s\n",datadir,errno,strerror(errno));
 | 
			
		||||
				goto return_main;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
@ -127,6 +127,7 @@ startMonitor(void *arg,void* opt)
 | 
			
		||||
	handle->id = MONITOR_DEFAULT_ID;
 | 
			
		||||
	handle->master = NULL;
 | 
			
		||||
	handle->script = NULL;
 | 
			
		||||
	handle->detectStaleMaster = false;
 | 
			
		||||
	memset(handle->events,false,sizeof(handle->events));
 | 
			
		||||
	spinlock_init(&handle->lock);
 | 
			
		||||
    }
 | 
			
		||||
@ -198,7 +199,8 @@ startMonitor(void *arg,void* opt)
 | 
			
		||||
static	void	
 | 
			
		||||
stopMonitor(void *arg)
 | 
			
		||||
{
 | 
			
		||||
MM_MONITOR	*handle = (MM_MONITOR *)arg;
 | 
			
		||||
    MONITOR* mon = arg;
 | 
			
		||||
    MM_MONITOR	*handle = (MM_MONITOR *)mon->handle;
 | 
			
		||||
 | 
			
		||||
        handle->shutdown = 1;
 | 
			
		||||
        thread_wait((void *)handle->tid);
 | 
			
		||||
@ -564,8 +566,8 @@ monitorMain(void *arg)
 | 
			
		||||
    MONITOR* mon = (MONITOR*)arg;
 | 
			
		||||
MM_MONITOR	*handle;
 | 
			
		||||
MONITOR_SERVERS	*ptr;
 | 
			
		||||
int detect_stale_master;
 | 
			
		||||
MONITOR_SERVERS *root_master;
 | 
			
		||||
int detect_stale_master = false;
 | 
			
		||||
MONITOR_SERVERS *root_master = NULL;
 | 
			
		||||
size_t nrounds = 0;
 | 
			
		||||
 | 
			
		||||
spinlock_acquire(&mon->lock);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user