@ -221,6 +221,12 @@ int gw_read_backend_handshake(
|
||||
errcode,
|
||||
bufstr)));
|
||||
|
||||
/**
|
||||
* If ER_HOST_IS_BLOCKED is found
|
||||
* the related server is put in maintenace mode
|
||||
* This will avoid filling the error log.
|
||||
*/
|
||||
|
||||
if (errcode == 1129) {
|
||||
LOGIF(LE, (skygw_log_write_flush(
|
||||
LOGFILE_ERROR,
|
||||
@ -230,7 +236,6 @@ int gw_read_backend_handshake(
|
||||
dcb->server->port)));
|
||||
|
||||
server_set_status(dcb->server, SERVER_MAINT);
|
||||
|
||||
}
|
||||
|
||||
free(bufstr);
|
||||
|
Reference in New Issue
Block a user