Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10598

H2 ConnectionManager drop ThreadLocal logic

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.7
    • None
    • sql
    • Docs Required

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              tledkov-gridgain Taras Ledkov
              tledkov-gridgain Taras Ledkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: