Move removal of closing DCB from poll list to the kill zombies processing, rather than immediately on close; modify persistent connections to obtain candidates for the pool from the kill zombies processing to be sure that they really are finished all previous processing.
This commit is contained in:
@ -353,7 +353,6 @@ session_free(SESSION *session)
|
||||
if (atomic_add(&session->refcount, -1) - 1)
|
||||
{
|
||||
/* Must be one or more references left */
|
||||
ss_dassert(nlink > 0);
|
||||
return false;
|
||||
}
|
||||
session->state = SESSION_STATE_TO_BE_FREED;
|
||||
|
||||
Reference in New Issue
Block a user