Skip to content

Conversation

@zhangchiqing
Copy link
Member

Add BlockIDByCollectionID method to storage.Blocks interface and use it in CollectionFinalized to avoid unnecessary block retrieval when only the block ID is needed.

@zhangchiqing zhangchiqing requested a review from a team as a code owner November 21, 2025 23:56
@github-actions
Copy link
Contributor

github-actions bot commented Nov 21, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@codecov-commenter
Copy link

codecov-commenter commented Nov 22, 2025

Codecov Report

❌ Patch coverage is 0% with 27 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
storage/mock/blocks.go 0.00% 18 Missing ⚠️
storage/store/blocks.go 0.00% 8 Missing ⚠️
...chronization/indexer/collection_executed_metric.go 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Member

@jordanschalm jordanschalm left a comment

Choose a reason for hiding this comment

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

Nice optimization, just added some suggestions to make the documentation more precise.

@zhangchiqing zhangchiqing requested a review from a team November 24, 2025 19:28
Copy link
Member

@AlexHentschel AlexHentschel left a comment

Choose a reason for hiding this comment

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

very nice.

@zhangchiqing zhangchiqing added this pull request to the merge queue Dec 1, 2025
Merged via the queue into master with commit 2688450 Dec 1, 2025
61 checks passed
@zhangchiqing zhangchiqing deleted the leo/optimize-collection-index-metrics branch December 1, 2025 20:49
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.

5 participants