Skip to content

fix(spans): Detect subprocess crash during startup health check#109832

Merged
lvthanh03 merged 1 commit intomasterfrom
tony/flusher-fail-fast
Mar 4, 2026
Merged

fix(spans): Detect subprocess crash during startup health check#109832
lvthanh03 merged 1 commit intomasterfrom
tony/flusher-fail-fast

Conversation

@lvthanh03
Copy link
Member

The SpanFlusher subprocess can crash during startup due to Redis connectivity issues, but the main consumer thread continues to wait in _wait_for_process_to_become_healthy() for a healthy signal that will never come. This makes health check function in the main thread determine if the subprocess is alive or has already been terminated to fail faster.

Refs STREAM-741

@lvthanh03 lvthanh03 requested review from a team as code owners March 3, 2026 21:16
@linear
Copy link

linear bot commented Mar 3, 2026

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 3, 2026
@lvthanh03 lvthanh03 merged commit 2c0d4bf into master Mar 4, 2026
77 checks passed
@lvthanh03 lvthanh03 deleted the tony/flusher-fail-fast branch March 4, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants