[ 
https://issues.apache.org/jira/browse/IGNITE-12800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063311#comment-17063311
 ] 

Ignite TC Bot commented on IGNITE-12800:
----------------------------------------

{panel:title=Branch: [pull/7551/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5139547&buildTypeId=IgniteTests24Java8_RunAll]

> SQL: local queries cursors must be closed or full read to unlock the 
> GridH2Table.
> ---------------------------------------------------------------------------------
>
>                 Key: IGNITE-12800
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12800
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.8
>            Reporter: Taras Ledkov
>            Assignee: Taras Ledkov
>            Priority: Critical
>             Fix For: 2.8.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> *Root cause:* local queries cursors must be closed or full read to unlock the 
> GridH2Table.
> *Proposal fix:*
> - modify {{H2ResultSetIterator}} to use "paged mode": iterator reads N 
> records into internal buffer and unlock the tables (similar to 
> {{MapQueryResult}}; later we have to refactor these classes. They must use 
> one code base to fetch data and lok/unlock tables)
> - modify the state logic of the {{QueryCursorImpl}} for lazy mode. Now the 
> real query cancellation isn't called when result set is gathered. It is not 
> valid for lazy mode.
> - add wrapper for iterator at the {{RegisteredQueryCursor}} because the state 
> of query isn't tracked when results are read via Iterator at the client code.
> - fix tests that doesn't close query cursor for local queries.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to