Skip to content

Conversation

@zhangchiqing
Copy link
Member

Background

The Access Node may receive the same collection from multiple sources (collection node via fetching or execution Node via execution data syncing), causing redundant store and index operations.

PR

Added early abort logic to BatchStoreAndIndexByTransaction that skips database writes when all transactions are already indexed and point to the same collection, avoiding redundant operations when storing the same collection multiple times.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2025

Dependency Review

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

Scanned Files

None

@codecov-commenter
Copy link

codecov-commenter commented Nov 7, 2025

Codecov Report

❌ Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
storage/store/collections.go 71.42% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@zhangchiqing zhangchiqing marked this pull request as ready for review November 17, 2025 16:46
@zhangchiqing zhangchiqing requested a review from a team as a code owner November 17, 2025 16:46
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.

3 participants