Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Incompatible change
-
Description
the current javadoc for getConnection carries a thread safety warning:
/** * Get a Connection to the cluster. Not thread-safe (This class needs a lot of work to make it * thread-safe). * @return A Connection that can be shared. Don't close. Will be closed on shutdown of cluster. */ public Connection getConnection() throws IOException {
We then ignore that warning across our test base. We should make the method threadsafe since the intention is to share a single Connection across all users of the HTU instance.