Skip to content

Conversation

vtjl10
Copy link
Contributor

@vtjl10 vtjl10 commented Oct 15, 2025

  • Summary: Add defer file.Close() in saveBlobDataToDisk (util/headerreader/blob_client.go) to guarantee file descriptor release on all paths.
  • Behavior: No functional change to blob saving; ensures cleanup on marshal/write errors.
  • Rationale: Prevents file descriptor leaks that can lead to “too many open files” under failure or high-load scenarios; improves robustness.

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.

1 participant