Skip to content

Remove tmp file when closing FileEntity to avoid resource leak#15656

Closed
asdf2014 wants to merge 1 commit intoapache:masterfrom
asdf2014:close_file_entity
Closed

Remove tmp file when closing FileEntity to avoid resource leak#15656
asdf2014 wants to merge 1 commit intoapache:masterfrom
asdf2014:close_file_entity

Conversation

@asdf2014
Copy link
Member

Description

We should remove temporary files during the closure of FileEntity to avoid resource leak instead of doing nothing.


This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

@asdf2014 asdf2014 added the Bug label Jan 10, 2024
@asdf2014 asdf2014 closed this Jan 10, 2024
@asdf2014 asdf2014 deleted the close_file_entity branch January 10, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants