Skip to content

Meta fixes#4036

Open
carpawell wants to merge 2 commits into
masterfrom
fix/meta/drop-external-batching
Open

Meta fixes#4036
carpawell wants to merge 2 commits into
masterfrom
fix/meta/drop-external-batching

Conversation

@carpawell

Copy link
Copy Markdown
Member

There is no need to delay for so long while metabase has its own batching. Closes ##4032.

@carpawell carpawell self-assigned this Jun 22, 2026
@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 26.76%. Comparing base (f1fd400) to head (ba60b62).
⚠️ Report is 10 commits behind head on master.

Files with missing lines Patch % Lines
pkg/services/meta/storage.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4036      +/-   ##
==========================================
+ Coverage   26.58%   26.76%   +0.18%     
==========================================
  Files         687      688       +1     
  Lines       46591    46721     +130     
==========================================
+ Hits        12384    12504     +120     
- Misses      33065    33068       +3     
- Partials     1142     1149       +7     

☔ View full report in Codecov by Harness.
📢 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.

Comment thread pkg/services/meta/storage.go Outdated
@carpawell carpawell force-pushed the fix/meta/drop-external-batching branch 2 times, most recently from ba60b62 to 4337bbe Compare June 23, 2026 12:11
@carpawell carpawell marked this pull request as ready for review June 23, 2026 12:11
This speed the second index persisting up. Closes #4032.

Signed-off-by: Pavel Karpy <carpawell@nspcc.io>
It should always be like that, and it was, but starting from some refactoring
commit, it started to be a line in `saveObject` local func. Without this fix,
distributing split objects breaks at LINK object, which is tried with doubled
signatures.

Signed-off-by: Pavel Karpy <carpawell@nspcc.io>
@carpawell carpawell force-pushed the fix/meta/drop-external-batching branch from 4337bbe to 30bed47 Compare June 23, 2026 12:12
const (
maxBuffSize = 100
maxBatchDelay = time.Second
maxBatchDelay = blobstorconfig.DefaultFlushInterval

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not following real configuration.

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