Skip to content

sn/storage: Fix unclosed compressed files in FSTree#3802

Open
cthulhu-rider wants to merge 1 commit intomasterfrom
fstree-compress-close
Open

sn/storage: Fix unclosed compressed files in FSTree#3802
cthulhu-rider wants to merge 1 commit intomasterfrom
fstree-compress-close

Conversation

@cthulhu-rider
Copy link
Contributor

No description provided.

The zstd decoder does not close original stream. Previously, compressed
files bigger than 16K were never closed.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

❌ Patch coverage is 72.72727% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 25.54%. Comparing base (bfb9c89) to head (597ba24).
⚠️ Report is 8 commits behind head on master.

Files with missing lines Patch % Lines
pkg/local_object_storage/blobstor/fstree/head.go 62.50% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3802      +/-   ##
==========================================
- Coverage   25.55%   25.54%   -0.02%     
==========================================
  Files         660      661       +1     
  Lines       42663    42642      -21     
==========================================
- Hits        10903    10891      -12     
+ Misses      30753    30750       -3     
+ Partials     1007     1001       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cthulhu-rider cthulhu-rider marked this pull request as ready for review February 4, 2026 15:20
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