This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch 4.x in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.x by this push: new f4df933 PHOENIX-6342 RoundRobinResultIterator doesn't close itself when result size = fetchsize-1 f4df933 is described below commit f4df93398c4def94cff6e96cf314d6e6501507de Author: Istvan Toth <st...@apache.org> 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; }