Skip to content

Commit 169f56a

Browse files
committed
Bug#22972595 - FAILING ASSERTION: NODE_START != (OS_OFFSET_T) -1 WITH DDL+DML USING XCONNECTION
Description: Mysqlx was closing same file desriptor two times. First from xpl::Client::~Clinet -> Connection_vio::close, second from first from xpl::Client::~Clinet -> Connection_vio::close. After first call the same descriptor id could be allocated at another open, socket call (from antoher thread). Second call to close was invalidating the just allocated socket. Reviewed-by: Jakub Nowakowski <[email protected]> Reviewed-by: Andrzej Religa <[email protected]> RB: 12247
1 parent 4d7cc7a commit 169f56a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rapid/plugin/x/ngs/src/server.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ void Server::on_accept(int sock, short what, void *ctx)
397397
{
398398
self->m_delegate->did_reject_client(Server_delegate::TooManyConnections);
399399
log_warning("Unable to accept connection, disconnecting client");
400-
Connection_vio::close_socket(nsock);
401400
}
402401
}
403402
}

0 commit comments

Comments
 (0)