Skip to content

chore: try to fast read_snapshot #8098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Oct 11, 2022
Merged

Conversation

BohuTANG
Copy link
Member

@BohuTANG BohuTANG commented Oct 10, 2022

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

  • Add read_snapshots_by_root_file to use list fast the snapshot reads. This is the v1 to fast snapshot, the final plan waits for @dantengsky to add some hist to the snapshot file, and we can avoid using the list operation.
  • Change fuse_snapshot_table from stream to AsyncSource, and align it with other functions as fuse_segment did.

Parts #8067

@vercel
Copy link

vercel bot commented Oct 10, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Oct 11, 2022 at 1:45PM (UTC)

@mergify mergify bot added the pr-chore this PR only has small changes that no need to record, like coding styles. label Oct 10, 2022
@dantengsky
Copy link
Member

TableSnapshotLite 👍

@BohuTANG BohuTANG marked this pull request as ready for review October 11, 2022 13:41
@BohuTANG BohuTANG requested a review from dantengsky October 11, 2022 13:41
Copy link
Member

@dantengsky dantengsky left a comment

Choose a reason for hiding this comment

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

LGTM

@BohuTANG BohuTANG merged commit ab4d82d into databendlabs:main Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-chore this PR only has small changes that no need to record, like coding styles.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants