Skip to content

[core] Optimize FileStoreCommitImpl#filterCommitted when commit strict mode is set#7239

Merged
JingsongLi merged 1 commit intoapache:masterfrom
tsreaper:strict-filter
Feb 10, 2026
Merged

[core] Optimize FileStoreCommitImpl#filterCommitted when commit strict mode is set#7239
JingsongLi merged 1 commit intoapache:masterfrom
tsreaper:strict-filter

Conversation

@tsreaper
Copy link
Contributor

@tsreaper tsreaper commented Feb 9, 2026

Purpose

It is costly to find the latest snapshot of user if there are many snapshots. This PR optimizes FileStoreCommitImpl#filterCommitted when commit strict mode is set: we only search until the safe snapshot ID.

Tests

This is an optimization. Existing tests are enough.

API and Format

No format changes.

Documentation

No new feature.

@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit 9573fcd into apache:master Feb 10, 2026
12 of 13 checks passed
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