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

[SEDONA-638] Submit telemetry asynchronously without blocking the initialization of SedonaContext #1541

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

Kontinuation
Copy link
Member

@Kontinuation Kontinuation commented Aug 5, 2024

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

The telemetry collector sends requests to the scarf server synchronously, which may block the initialization of SedonaContext when internet access is restricted (see #1512). This PR sends the telemetry requests in a separate thread to avoid blocking the SedonaContext initialization.

How was this patch tested?

Tested manually. Internet access restriction was simulated using iptables.

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the documentation.

@Kontinuation Kontinuation changed the title Submit telemetry asynchronously without blocking the initialization of SedonaContext [SEDONA-638] Submit telemetry asynchronously without blocking the initialization of SedonaContext Aug 5, 2024
@Kontinuation Kontinuation marked this pull request as ready for review August 5, 2024 16:45
@jiayuasu jiayuasu added this to the sedona-1.6.1 milestone Aug 5, 2024
@jiayuasu jiayuasu merged commit aef523b into apache:master Aug 5, 2024
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants