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

SNOW-1373151: Proactively refresh token to avoid token expiration exception from JDBC #780

Merged
merged 9 commits into from
Jul 16, 2024

Conversation

sfc-gh-tzhang
Copy link
Contributor

@sfc-gh-tzhang sfc-gh-tzhang commented Jun 21, 2024

We have seen many complains from customer about having false positive ERROR log from JDBC, since we will refresh the token only if it expires. This change switches to actively refresh the token before it expires to avoid the ERROR log.

Testing is covered by existing long running end2end test

@sfc-gh-tzhang sfc-gh-tzhang requested review from a team as code owners June 21, 2024 01:48
Base automatically changed from tzhang-si-random to master June 26, 2024 23:56
@sfc-gh-tzhang sfc-gh-tzhang merged commit 1d2ec04 into master Jul 16, 2024
48 checks passed
@sfc-gh-tzhang sfc-gh-tzhang deleted the tzhang-si-refresh branch July 16, 2024 07:39
sfc-gh-kgaputis pushed a commit to sfc-gh-kgaputis/snowflake-ingest-java that referenced this pull request Sep 12, 2024
…eption from JDBC (snowflakedb#780)

We have seen many complains from customer about having false positive ERROR log from JDBC, since we will refresh the token only if it expires. This change switches to actively refresh the token before it expires to avoid the ERROR log.

Refresh stage metadata automatically in the background to avoid exceptions encountered during file upload in uploadWithoutConnection snowflakedb#753

Testing is covered by existing long running end2end test
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.

4 participants