Skip to content

fix(clickhouse): fix avro substream send#4422

Merged
Amogh-Bharadwaj merged 2 commits into
mainfrom
fix-avro-send
Jun 15, 2026
Merged

fix(clickhouse): fix avro substream send#4422
Amogh-Bharadwaj merged 2 commits into
mainfrom
fix-avro-send

Conversation

@Amogh-Bharadwaj

@Amogh-Bharadwaj Amogh-Bharadwaj commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Replaces substream.Records <- record with substream.Send which is context-aware, so that when the consumer is down, we do not leak goroutines here in the avro writer.
Otherwise this has seen to cause initial load failures due to resource exhaustion.

Also adds more logging in this area

@Amogh-Bharadwaj
Amogh-Bharadwaj requested a review from a team as a code owner June 15, 2026 10:37
@Amogh-Bharadwaj Amogh-Bharadwaj changed the title fix: fix avro substream send fix(clickhouse): fix avro substream send Jun 15, 2026
@claude

claude Bot commented Jun 15, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@ilidemi ilidemi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the bugfix!

@Amogh-Bharadwaj
Amogh-Bharadwaj merged commit 464749d into main Jun 15, 2026
17 checks passed
@Amogh-Bharadwaj
Amogh-Bharadwaj deleted the fix-avro-send branch June 15, 2026 18:41
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.

3 participants