Skip to content

Fix incorrect metabase garbage bucket setting on tombstone writing#3484

Merged
roman-khimov merged 2 commits intomasterfrom
bugfix/metabase-tombstone-put
Jul 29, 2025
Merged

Fix incorrect metabase garbage bucket setting on tombstone writing#3484
roman-khimov merged 2 commits intomasterfrom
bugfix/metabase-tombstone-put

Conversation

@cthulhu-rider
Copy link
Contributor

from #3483

@cthulhu-rider cthulhu-rider force-pushed the bugfix/metabase-tombstone-put branch from 1b00f26 to 040f61e Compare July 28, 2025 15:42
@codecov
Copy link

codecov bot commented Jul 28, 2025

Codecov Report

❌ Patch coverage is 80.32787% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 23.42%. Comparing base (bf5a751) to head (4337c67).
⚠️ Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
pkg/local_object_storage/metabase/version.go 72.09% 8 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3484      +/-   ##
==========================================
+ Coverage   23.34%   23.42%   +0.07%     
==========================================
  Files         669      669              
  Lines       50249    50309      +60     
==========================================
+ Hits        11731    11784      +53     
- Misses      37602    37604       +2     
- Partials      916      921       +5     

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

Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't have many of these, luckily. Just testnet.

@cthulhu-rider
Copy link
Contributor Author

We shouldn't have many of these, luckily. Just testnet.

yep, i also relied on this, otherwise the code'd have become more complicated with iterations

Defect of 7105aff. Bucket key must be a
full address, i.e. CID+OID, but was OID only.

Add unit tests also.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@cthulhu-rider cthulhu-rider force-pushed the bugfix/metabase-tombstone-put branch 2 times, most recently from 1894144 to 8a495b5 Compare July 29, 2025 06:26
@cthulhu-rider cthulhu-rider marked this pull request as ready for review July 29, 2025 06:29
Completes 0d86d45 by correcting already
recorded data at the init stage via migration to newly added metabase
version.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@cthulhu-rider cthulhu-rider force-pushed the bugfix/metabase-tombstone-put branch from 8a495b5 to 4337c67 Compare July 29, 2025 06:51
@roman-khimov roman-khimov merged commit 6c4da00 into master Jul 29, 2025
23 of 24 checks passed
@roman-khimov roman-khimov deleted the bugfix/metabase-tombstone-put branch July 29, 2025 11:40
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