I'm running into an odd bug where result.hasNext() hangs forever after successfully iterating through all of the expected results of a query. I have an application where I need to load the contents of a table at startup, which I've implemented like so:
When the code runs I get the following in the log files, it loads the expected data but then the hasNext() hangs forever when it should terminate the loop. Note that I never get the Results done. or History initialized log messages from the code. I can also comment out the history.add(entry) code and observe the same behavior, so it would seem to be an issue with the Java driver:
Describe the bug
I'm running into an odd bug where
result.hasNext()
hangs forever after successfully iterating through all of the expected results of a query. I have an application where I need to load the contents of a table at startup, which I've implemented like so:When the code runs I get the following in the log files, it loads the expected data but then the
hasNext()
hangs forever when it should terminate the loop. Note that I never get theResults done.
orHistory initialized
log messages from the code. I can also comment out thehistory.add(entry)
code and observe the same behavior, so it would seem to be an issue with the Java driver:... and then the app dies, hanging forever.
System info
rethinkdb 2.4.1~0buster (CLANG 7.0.1 (tags/RELEASE_701/final))