Skip to content

fix(tsfile): propagate IOException on writer close instead of swallowing it - #899

Merged
JackieTien97 merged 2 commits into
apache:developfrom
shuwenwei:fix/close-ioexception
Aug 6, 2026
Merged

fix(tsfile): propagate IOException on writer close instead of swallowing it#899
JackieTien97 merged 2 commits into
apache:developfrom
shuwenwei:fix/close-ioexception

Conversation

@shuwenwei

Copy link
Copy Markdown
Member

The close() method of AbstractTableModelTsFileWriter catches IOException and only logs a warning, silently swallowing the failure so callers cannot detect that closing the file failed.

Changes:

  • ITsFileWriter.close() now declares throws IOException
  • AbstractTableModelTsFileWriter.close() lets the exception propagate instead of logging and dropping it

@JackieTien97
JackieTien97 merged commit 2465542 into apache:develop Aug 6, 2026
14 checks passed
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