You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2021/01/27 08:36:08 UTC
[phoenix] branch master updated: PHOENIX-6342
RoundRobinResultIterator doesn't close itself when result size =
fetchsize-1
This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push:
new a737617 PHOENIX-6342 RoundRobinResultIterator doesn't close itself when result size = fetchsize-1
a737617 is described below
commit a737617cac6e894cffa32be094f864afa55bd16f
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 5f0dcd2..87c7cce 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;
}