ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-13105) Spring data 2.0 IgniteRepositoryQuery#transformQueryCursor contains cursor leak
Date Mon, 01 Jun 2020 16:18:00 GMT
Alexey Kuznetsov created IGNITE-13105:
-----------------------------------------

             Summary: Spring data 2.0 IgniteRepositoryQuery#transformQueryCursor contains
cursor leak
                 Key: IGNITE-13105
                 URL: https://issues.apache.org/jira/browse/IGNITE-13105
             Project: Ignite
          Issue Type: Improvement
          Components: springdata
    Affects Versions: 2.8.1
            Reporter: Alexey Kuznetsov
            Assignee: Alexey Kuznetsov
             Fix For: 2.9


This code produce cursor leak in RunningQueryManager:
If result set contains one ore more rows.
{code}
                case ONE_VALUE:
                    Iterator<List> iter = qryIter.iterator();

                    if (iter.hasNext())
                        return iter.next().get(0);

                    return null;
{code}



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

Mime
View raw message