Added debug logging for #615
This commit is contained in:
@ -1119,6 +1119,10 @@ dcb_close(DCB *dcb)
|
|||||||
|
|
||||||
CHK_DCB(dcb);
|
CHK_DCB(dcb);
|
||||||
|
|
||||||
|
LOGIF(LD, (skygw_log_write(LOGFILE_DEBUG,
|
||||||
|
"%lu [dcb_close]",
|
||||||
|
pthread_self())));
|
||||||
|
|
||||||
/*<
|
/*<
|
||||||
* dcb_close may be called for freshly created dcb, in which case
|
* dcb_close may be called for freshly created dcb, in which case
|
||||||
* it only needs to be freed.
|
* it only needs to be freed.
|
||||||
|
@ -1089,6 +1089,10 @@ gw_backend_close(DCB *dcb)
|
|||||||
session = dcb->session;
|
session = dcb->session;
|
||||||
CHK_SESSION(session);
|
CHK_SESSION(session);
|
||||||
|
|
||||||
|
LOGIF(LD, (skygw_log_write(LOGFILE_DEBUG,
|
||||||
|
"%lu [gw_backend_close]",
|
||||||
|
pthread_self())));
|
||||||
|
|
||||||
quitbuf = mysql_create_com_quit(NULL, 0);
|
quitbuf = mysql_create_com_quit(NULL, 0);
|
||||||
gwbuf_set_type(quitbuf, GWBUF_TYPE_MYSQL);
|
gwbuf_set_type(quitbuf, GWBUF_TYPE_MYSQL);
|
||||||
|
|
||||||
|
@ -1392,6 +1392,10 @@ gw_client_close(DCB *dcb)
|
|||||||
CHK_PROTOCOL(protocol);
|
CHK_PROTOCOL(protocol);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
LOGIF(LD, (skygw_log_write(LOGFILE_DEBUG,
|
||||||
|
"%lu [gw_client_close]",
|
||||||
|
pthread_self())));
|
||||||
|
|
||||||
mysql_protocol_done(dcb);
|
mysql_protocol_done(dcb);
|
||||||
|
|
||||||
session = dcb->session;
|
session = dcb->session;
|
||||||
|
@ -912,6 +912,10 @@ static void closeSession(
|
|||||||
ROUTER_CLIENT_SES* router_cli_ses;
|
ROUTER_CLIENT_SES* router_cli_ses;
|
||||||
backend_ref_t* backend_ref;
|
backend_ref_t* backend_ref;
|
||||||
|
|
||||||
|
LOGIF(LD, (skygw_log_write(LOGFILE_DEBUG,
|
||||||
|
"%lu [RWSplit:closeSession]",
|
||||||
|
pthread_self())));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* router session can be NULL if newSession failed and it is discarding
|
* router session can be NULL if newSession failed and it is discarding
|
||||||
* its connections and DCB's.
|
* its connections and DCB's.
|
||||||
|
Reference in New Issue
Block a user