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-997216 Init serverDeployment to default value #1608

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

sfc-gh-pfus
Copy link
Contributor

@sfc-gh-pfus sfc-gh-pfus commented Jan 17, 2024

Overview

SNOW-997216 When using upload without connection the OOB telemetry is not initialized properly - server deployment is not set. Now we set it to PROD by default.

@sfc-gh-pfus sfc-gh-pfus requested a review from a team as a code owner January 17, 2024 10:37
@sfc-gh-dstempniak
Copy link

@sfc-gh-pfus please fill the description

Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sfc-gh-japatel
Copy link
Collaborator

For my under, How does this fix help? We have only seem intermittent failures!

@sfc-gh-japatel
Copy link
Collaborator

Can you also add test?

@sfc-gh-pfus
Copy link
Contributor Author

Hi @sfc-gh-japatel ! The fix was tested and confirmed by @sfc-gh-hachouraria . The problem is that serverDeployment field is initialized during first connection. Ingest SDK uses connectionless mode, so this field is never set. Without connection we don't know which environment it uses, so we have to guess and the most likely it is production. I also suggested testing setting this field manually, awaiting Harsh test.

About the test, unfortunately we can't have a test without any connection. The test setup itself creates the connections. Also, it may be difficult to mimic S3 error in integration test.

@sfc-gh-japatel
Copy link
Collaborator

Thanks @sfc-gh-pfus for response!

@sfc-gh-xhuang
Copy link

@sfc-gh-pfus can this be merged and released along with the GCP fix this week?

@sfc-gh-pfus sfc-gh-pfus merged commit 697073f into master Jan 19, 2024
36 checks passed
@sfc-gh-pfus sfc-gh-pfus deleted the SNOW-997216-init-server-deployment branch January 19, 2024 06:11
@github-actions github-actions bot locked and limited conversation to collaborators Jan 19, 2024
@sfc-gh-pfus
Copy link
Contributor Author

@sfc-gh-xhuang merged!

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

Successfully merging this pull request may close these issues.

5 participants