[jira] [Created] (IGNITE-10598) H2 ConnectionManager drop ThreadLocal logic

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-10598) H2 ConnectionManager drop ThreadLocal logic

Anton Vinogradov (Jira)
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)