googleapis / nodejs-bigquery-storage

BigQuery Storage Node.js client
Apache License 2.0
34 stars 17 forks source link

feat: enable write retry and nack pending writes on reconnect #443

Closed alvarowolfx closed 6 months ago

alvarowolfx commented 6 months ago

This PR fix an issue that can happen when an error is returned by the service side and we trigger a reconnect, in some cases where a in-flight/pending write is still waiting for response can be left without any ack/nack.

Towards internal b/329875851

alvarowolfx commented 6 months ago

Summary of integration/e2e tests added on this PR:

Test Group: Flaky Scenarios

Test SubGroup: should manage to send data in sequence scenario

Test SubGroup: should manage to send data in parallel.