This is an automated email from the ASF dual-hosted git repository.

yanxinyi pushed a commit to branch 4.16
in repository https://gitbox.apache.org/repos/asf/phoenix.git

commit b3ff91f2f6267a43e81b8dd123b9a778d3f6a60e
Author: Istvan Toth <[email protected]>
AuthorDate: Wed Jan 27 08:04:34 2021 +0100

    PHOENIX-6342 RoundRobinResultIterator doesn't close itself when result size 
= fetchsize-1
---
 .../main/java/org/apache/phoenix/iterate/RoundRobinResultIterator.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/RoundRobinResultIterator.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/RoundRobinResultIterator.java
index 5d33292..3c6f6fc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/RoundRobinResultIterator.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/RoundRobinResultIterator.java
@@ -114,6 +114,7 @@ public class RoundRobinResultIterator implements 
ResultIterator {
                 index = (index + 1) % size;
             }
         }
+        close();
         return null;
     }
 

Reply via email to