We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eea59c6 commit 9892300Copy full SHA for 9892300
core/src/main/java/com/datastax/dse/driver/internal/core/cql/reactive/ReactiveResultSetSubscription.java
@@ -277,13 +277,10 @@ private Object tryNext() {
277
if (pages.poll() == null) {
278
throw new AssertionError("Queue is empty, this should not happen");
279
}
280
- current = pages.peek();
281
// if the next page is readily available,
282
// serve its first row now, no need to wait
283
// for the next drain.
284
- if (current != null && current.hasMoreRows()) {
285
- return current.nextRow();
286
- }
+ tryNext();
287
288
289
// No items available right now.
0 commit comments