You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-529 Pool DBRM connections
DBRM connections are reused so that we don't have a huge amount of TIME_WAIT sockets when there are large amounts of DML. Also applied to i_s.columnstore_files
This commit is contained in:
@ -174,7 +174,9 @@ public:
|
||||
*/
|
||||
virtual void connectionTimeout(const struct timespec* timeout) { fSocket->connectionTimeout(timeout); }
|
||||
|
||||
|
||||
inline virtual bool isConnected() const;
|
||||
inline virtual bool hasData() const;
|
||||
|
||||
friend class ::MessageQTestSuite;
|
||||
|
||||
protected:
|
||||
@ -208,6 +210,8 @@ inline const SocketParms IOSocket::socketParms() const { idbassert(fSocket); ret
|
||||
inline void IOSocket::socketParms(const SocketParms& socketParms) { idbassert(fSocket); fSocket->socketParms(socketParms); }
|
||||
inline void IOSocket::setSocketImpl(Socket* socket) { delete fSocket; fSocket = socket; }
|
||||
inline const int IOSocket::getConnectionNum() const { return fSocket->getConnectionNum(); }
|
||||
inline bool IOSocket::isConnected() const { return fSocket->isConnected(); }
|
||||
inline bool IOSocket::hasData() const { return fSocket->hasData(); }
|
||||
|
||||
/**
|
||||
* stream an IOSocket rep to any ostream
|
||||
|
Reference in New Issue
Block a user