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

possible hang in insert #111

Open
idobenamram opened this issue Nov 4, 2024 · 3 comments
Open

possible hang in insert #111

idobenamram opened this issue Nov 4, 2024 · 3 comments

Comments

@idobenamram
Copy link
Contributor

we encountered a couple of hangs in our bigquery task which inserts to bigquery tables, we think the problem is a known bug in hyper which is the underlying way to send http in reqwest (hyperium/hyper#2312). there is also a mentioned simple fix. we have encountered this bug in several other places in our codebase.

@lquerel
Copy link
Owner

lquerel commented Nov 5, 2024

Did using the workaround you mentioned in your second link (pool_max_idle_per_host(0)) actually resolve the problem?

@idobenamram
Copy link
Contributor Author

we can't say for sure, but because of previous debugging that we did and multiple times it happened we strongly believe it this. ill link an issue i opened to another crate where we thought the hang was in the beginning it contains a lot of info
udoprog/leaky-bucket#35

@lquerel
Copy link
Owner

lquerel commented Nov 10, 2024

@idobenamram Have you deployed a modified version of this library (gcp-bq-client) with the aforementioned fix? If so, did it indeed resolve the insertion blocking over a significant period?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants