1
0
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:
Andrew Hutchings
2017-04-14 14:13:15 +01:00
parent 3e85b6ef07
commit 830b24c1fa
11 changed files with 349 additions and 56 deletions

View File

@ -196,6 +196,13 @@ public:
*/
EXPORT static int ping(const std::string& ipaddr, const struct timespec* timeout=0);
// Check if we are still connected
virtual bool isConnected() const;
// Check if the socket still has data pending
virtual bool hasData() const;
/*
* allow test suite access to private data for OOB test
*/