IoTDB: timeout to get a connection from

problem

Version 0.10.1 and earlier, when using SessionPool, connection timeout may occur.

timeout to get a connection from

Causes and solutions

If the SessionPool is used for query, the query result set is not manually closed after the SessionDataSetWrapper is obtained, and the connection is not released.

You can add a sentence: pool.close(SessionDataSetWrapper dataset)

If a runtime exception occurs on the client after the connection is obtained, the connection will not be released. This is fixed in the 0.10.2-SNAPSHOT version. You can pull the code of the rel/0.10 branch to manually install iotdb-session.

Guess you like

Origin blog.csdn.net/qiaojialin/article/details/108433881