Skip to content

Improved metabase interfaces for group-addressed operations#3933

Open
roman-khimov wants to merge 3 commits intomasterfrom
meta-oid-slices
Open

Improved metabase interfaces for group-addressed operations#3933
roman-khimov wants to merge 3 commits intomasterfrom
meta-oid-slices

Conversation

@roman-khimov
Copy link
Copy Markdown
Member

Simplify metabase internals, fix some existing and potential bugs.

The only real user of random address lists is lancet, it can cope with that.
GC is semi-dependent on this, but that's an area for improvement. Otherwise
this change allows to seriously simplify some metabase logic. Fixes #3900.

Signed-off-by: Roman Khimov <[email protected]>
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

❌ Patch coverage is 63.21839% with 64 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.77%. Comparing base (2b3e03b) to head (57c39a3).

Files with missing lines Patch % Lines
cmd/neofs-lancet/internal/meta/remove.go 0.00% 22 Missing ⚠️
pkg/local_object_storage/metabase/inhume.go 67.64% 7 Missing and 4 partials ⚠️
pkg/local_object_storage/shard/gc.go 57.69% 7 Missing and 4 partials ⚠️
pkg/local_object_storage/metabase/delete.go 77.77% 5 Missing and 1 partial ⚠️
pkg/local_object_storage/metabase/graveyard.go 80.95% 3 Missing and 1 partial ⚠️
pkg/local_object_storage/engine/inhume.go 76.92% 3 Missing ⚠️
pkg/local_object_storage/engine/delete.go 50.00% 2 Missing ⚠️
pkg/local_object_storage/shard/delete.go 83.33% 2 Missing ⚠️
pkg/local_object_storage/engine/put.go 0.00% 1 Missing ⚠️
pkg/local_object_storage/shard/inhume.go 85.71% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3933      +/-   ##
==========================================
- Coverage   26.81%   26.77%   -0.04%     
==========================================
  Files         677      677              
  Lines       44723    44711      -12     
==========================================
- Hits        11992    11973      -19     
- Misses      31617    31624       +7     
  Partials     1114     1114              

☔ 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.

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