You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Stanislav Lukyanov (JIRA)" <ji...@apache.org> on 2018/12/03 11:55:00 UTC

[jira] [Created] (IGNITE-10506) Emphasize the need to close the query cursors in docs

Stanislav Lukyanov created IGNITE-10506:
-------------------------------------------

             Summary: Emphasize the need to close the query cursors in docs
                 Key: IGNITE-10506
                 URL: https://issues.apache.org/jira/browse/IGNITE-10506
             Project: Ignite
          Issue Type: Bug
          Components: documentation
            Reporter: Stanislav Lukyanov


Currently the need to close query cursors is mentioned only in two places:
- Queries docs on readme.io: https://apacheignite.readme.io/docs/cache-queries#section-querycursor
- QueryCursor::close javadoc https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/query/QueryCursor.html#close--

A failure to close a cursor may lead to severe resource leaks. It seems reasonable to better emphasize and explain how to approach cursors closing. Most importantly, we need to have a mention of that in the Java API secton of SQL readme.io docs (https://apacheignite-sql.readme.io/docs/java-sql-api).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)