Cancelling and pausing an AsyncResultSet can cause the callback to be called repeatedly #1191
Labels
api: spanner
Issues related to the googleapis/java-spanner API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The following test case shows that the callback will continue to be called after the callback has returned
PAUSE
and the result set has been cancelled. This will only happen if the callback method does not callresultSet.tryNext()
.The text was updated successfully, but these errors were encountered: