[
https://issues.apache.org/jira/browse/IGNITE-10580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16730708#comment-16730708
]
Taras Ledkov commented on IGNITE-10580:
---------------------------------------
[~vozerov]
The H2 connection leak is fixed. Unfortunately we have to add two collections
of {{Connection}} to track opened connections.
It may be cause of a little performance drop. May be it makes sense to run the
benchmarks.
Also the new class {{AbstractIndexingCommonTest}} is used as the base class for
the most tests in the *indexing* module to check all H2 connection are closed
at the end of the test.
> H2 connection and statements are reused invalid for local sql queries
> ---------------------------------------------------------------------
>
> Key: IGNITE-10580
> URL: https://issues.apache.org/jira/browse/IGNITE-10580
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 2.7
> Reporter: Taras Ledkov
> Assignee: Taras Ledkov
> Priority: Major
> Fix For: 2.8
>
>
> The threadlocal connection & statement cache is used invalid for local
> queries.
> Steps to reproduce:
> # Open iterator for local query {{Query0}};
> # In the same thread open one more iterator for {{Query1}} (SQl statement
> must be equals to {{Query0}} and doesn't contains query parameters);
> # Fetch from the first iterator.
> The exception {{The object is already closed [90007-197]}} will be thrown.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)