Skip to content
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

test: fix potential race condition in Async ResultSet #333

Merged
merged 1 commit into from Jul 10, 2020

Conversation

olavloite
Copy link
Collaborator

If an AsyncResultSet was paused directly after receiving its last row and then cancelled while in paused mode, there was a small chance that the callback would not be called a last time to indicate to the user that the result set had been cancelled.

Updates #327

If an AsyncResultSet was paused directly after receiving its last row and
then cancelled while in paused mode, there was a small chance that the
callback would not be called a last time to indicate to the user that the
result set had been cancelled.

Updates #327
@olavloite olavloite requested a review from skuruppu July 9, 2020 20:31
@skuruppu skuruppu added cla: yes This human has signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Jul 10, 2020
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 10, 2020
@skuruppu skuruppu merged commit fb26abe into master Jul 10, 2020
@skuruppu skuruppu deleted the stress-test-async-result-set-fix branch July 10, 2020 03:47
rajatbhatta pushed a commit to rajatbhatta/java-spanner that referenced this pull request Nov 17, 2022
Some applications that load multiple JDBC drivers may run into dependency
conflicts if other JDBC drivers use the same dependencies but different
versions. This problem can be mitigated by creating a jar with shaded
dependencies. This change adds a Maven profile for creating shaded jars.

Fixes googleapis#316
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants