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

Intermittent stall and failure #59

Open
Quantumplation opened this issue Aug 23, 2024 · 1 comment
Open

Intermittent stall and failure #59

Quantumplation opened this issue Aug 23, 2024 · 1 comment

Comments

@Quantumplation
Copy link

Hello,

When requesting many dynamodb items in parallel (in my case, 50) through the DAX client, the DAX client seemingly deadlocks and ultimately fails with the following error:

UnknownError: unknown error
caused by: file already closed

I did some initial investigation, and it appears this error is thrown here:

return nil, os.ErrClosed

My hypothesis is that there is a deadlock, the tubepool gets closed because of some kind of idle check, and then the deadlock times out and fails on this error; but I'm not familiar enough with the code base to investigate further.

@Quantumplation
Copy link
Author

This behavior appears to disappear somewhere between 8 and 16 requests, but that might just be because it comes rarer and rarer.

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

1 participant