Skip to content

populate X-Server-Timeout when timeout is set in jobs.insert requests #919

@tswast

Description

@tswast

https://cloud.google.com/apis/docs/system-parameters#definitions

Is your feature request related to a problem? Please describe.

While investigating internal issue 195337762, it was determined that some internal servers can get stuck waiting for longer than is necessary. It is believed that if X-Server-Timeout is set, then those internal servers can stop processing more quickly.

Describe the solution you'd like

Whenever timeout is set in the JSONConnection call API method, also populate the X-Server-Timeout header.

Describe alternatives you've considered

It's possible the local client-side timeout may be sufficient.

Additional context

It's still not 100% clear to me that this header will help. A Googler on the internal issue 195337762 promises to share some docs on how this header bubbles through the system.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions