-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changes block in hasNext #71
Comments
Can we merge the change from IndabaConsultores? Or if there is an objection to that patch, I'm happy to try to address it. It needs to be possible to call stop() from another thread and have hasNext() exit, even if there are no updates from the database. Otherwise there is no way to cleanly stop the process. |
Thanks for bringing up the issue. There is a near coming release that should include the fix. Kind Regards |
Any news regarding this? I am also affected. |
A release due this weekend should address the issue. Thanks. |
the changes is blocked/stuck in hasnext when we lose connection despite the signal changes.stop being set to true in another thread. Can we use the stop in the "do while" condition and exit when the signal is true.
` if(!stop) {
String row = "";
do {
row = getReader().readLine();
} while(row.length() == 0 && !stop);
The text was updated successfully, but these errors were encountered: