ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taras Ledkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-10598) H2 ConnectionManager drop ThreadLocal logic
Date Fri, 07 Dec 2018 14:00:00 GMT
Taras Ledkov created IGNITE-10598:
-------------------------------------

             Summary: H2 ConnectionManager drop ThreadLocal logic
                 Key: IGNITE-10598
                 URL: https://issues.apache.org/jira/browse/IGNITE-10598
             Project: Ignite
          Issue Type: Task
          Components: sql
    Affects Versions: 2.7
            Reporter: Taras Ledkov
            Assignee: Taras Ledkov


Looks like we have to change H2 connection management after the patch IGNITE-9171 is applied.
Caching H2 connection in ThreadLocal doesn't make sense because connections are shared between
thread in fact.

Drop ThreadLocal connection cache simplifies connection management. We haven't check thread
state to close connection.

The solution needs in good performance analysis & benchmark to be sure that contention
on concurrent collection of H2 connections doesn't affect query performance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message