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

Pavel Tupitsyn commented on IGNITE-21660:
-----------------------------------------

[~shoothzj] there is no bug. We don't need to call close in *getAll*, because 
the server cleans up all resources automatically when it returns the last page 
of the query.
See *ClientCacheQueryCursor#writePage* [1] .

[1] 
https://github.com/apache/ignite/blob/2fbbb676386515ea881e4e61f08864d6bc93225a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/client/cache/ClientCacheQueryCursor.java#L88

> ClientQueryCursor is not closed in getAll
> -----------------------------------------
>
>                 Key: IGNITE-21660
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21660
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: ZhangJian He
>            Assignee: ZhangJian He
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> ClientQueryCursor is not closed in `getAll()` method. According to the 
> annotation, it should be closed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to