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

fix: Pause connection requests after certificate expires until refresh completes. #1600

Closed
wants to merge 0 commits into from

Conversation

hessjcg
Copy link
Collaborator

@hessjcg hessjcg commented Oct 9, 2023

When the application attempts to create a database connection, and the certificate or auth token has expired,
pause until the certificate and token are refreshed. If the token is not refreshed before the timeout, throw
an exception because the connection attempt failed.

@hessjcg hessjcg requested a review from a team as a code owner October 9, 2023 20:48
@github-actions github-actions bot removed the size: s label Oct 10, 2023
Base automatically changed from fix-refresh-futures to main October 10, 2023 20:58
@github-actions github-actions bot removed the size: s label Oct 10, 2023
@github-actions github-actions bot removed the size: m label Oct 13, 2023
Copy link
Member

@enocom enocom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this counts as a feature as we're changing how refresh is done.

I know we've talked about it, but can you make a succinct case why we need this change? It feels like an edge case for when we're in a CPU throttled context, which we need to address more directly with #992.

@hessjcg
Copy link
Collaborator Author

hessjcg commented Oct 13, 2023

Converting to draft until we decide to move forward.

@hessjcg hessjcg marked this pull request as draft October 13, 2023 20:43
@hessjcg hessjcg force-pushed the gh-1226-named-connection-java-api branch 2 times, most recently from 60e5344 to c0a79a2 Compare November 2, 2023 16:29
@hessjcg hessjcg force-pushed the gh-1226-named-connection-java-api branch 23 times, most recently from d52c0f4 to 9d12ed4 Compare November 7, 2023 21:43
Base automatically changed from gh-1226-named-connection-java-api to main November 7, 2023 23:20
@hessjcg hessjcg closed this May 15, 2024
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

Successfully merging this pull request may close these issues.

None yet

3 participants