-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Golang API] Add support for resuming execution after transient failu…
…res of the GRPC connection. Summary: The Query Broker is setup to accept ExecuteScript requests that are pointed at a particular query ID. This diff adds support to the Golang API for resuming queries after the grpc connection fails with Unavailable or RST_STREAM. The retry/resumption respects the original context the user passed into ExecuteScript, and as long as that context is valid, it will retry indefinitely. Test Plan: Tested that query resumption works by deploying a vizier with Read/WriteTimeouts set to 60s on the grpc servers, and then seeing that the query failed and then was resumed after 60s. Reviewers: michelle, vihang, philkuz, zasgar Reviewed By: philkuz Signed-off-by: James Bartlett <[email protected]> Differential Revision: https://phab.corp.pixielabs.ai/D12305 GitOrigin-RevId: 1588c30d50651e00d25eba976e0ffa66f2697b24
- Loading branch information
1 parent
06ff452
commit 89a6376
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters