Skip to content

chore: handle closing change feed stream and logReader during exceptions#150

Draft
adam-miller wants to merge 1 commit into
nla:masterfrom
adam-miller:adam/handle_streamer_changefeed_closing
Draft

chore: handle closing change feed stream and logReader during exceptions#150
adam-miller wants to merge 1 commit into
nla:masterfrom
adam-miller:adam/handle_streamer_changefeed_closing

Conversation

@adam-miller

Copy link
Copy Markdown
Contributor

Not yet tested, but this is an attempt to:

Handle closing log reader when it's been passed off to the stream. During exceptions, like the client disconnecting before reading everything, the handle will get dropped without being closed. If we make the stream Closeable, we can ensure it is closed during response exceptions.

@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

@ato

ato commented Jul 2, 2026

Copy link
Copy Markdown
Member

Looks reasonable

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.

2 participants