Skip to content

Make sure logger is initialized when output is created#415

Merged
milos-lk merged 1 commit intomainfrom
fix-logger-race-condition
Feb 3, 2026
Merged

Make sure logger is initialized when output is created#415
milos-lk merged 1 commit intomainfrom
fix-logger-race-condition

Conversation

@milos-lk
Copy link
Contributor

@milos-lk milos-lk commented Feb 3, 2026

On creation output registers itself to receive EOS signals first and then creates logger - which leaves a small gap during which if EOS comes - logger is not initialized leading to panics. Fixing this by making sure logger is always created upfront.

On creation output registers itself to receive EOS signals first and then creates logger - which leaves a small gap during which if EOS comes - logger is not initialized leading to panics. Fixing this by making sure logger is always created upfront.
@milos-lk milos-lk merged commit 3e3be59 into main Feb 3, 2026
9 checks passed
@milos-lk milos-lk deleted the fix-logger-race-condition branch February 3, 2026 13:10
milos-lk added a commit that referenced this pull request Feb 3, 2026
On creation output registers itself to receive EOS signals first and then creates logger - which leaves a small gap during which if EOS comes - logger is not initialized leading to panics. Fixing this by making sure logger is always created upfront.
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.

3 participants