Skip to content
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

feat: support store with readonly cache #490

Merged

Conversation

ShiKaiWi
Copy link
Member

Which issue does this PR close?

Prepare #489

Rationale for this change

Mentioned by #489, some data from the object store is not necessary to do caching so an object store with readonly cache are needed.

What changes are included in this PR?

  • Add object store with readonly cache for the instance.
  • Object store with readonly cache is used for reading input data in compaction procedure.

Are there any user-facing changes?

None.

How does this change test

Existing tests.

@ShiKaiWi ShiKaiWi force-pushed the feat-object-store-ignore-write-back-to-cache branch from c4ccd70 to ee3b252 Compare December 19, 2022 05:44
Copy link
Contributor

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

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

LGTM

@ShiKaiWi ShiKaiWi merged commit 1dbd9f0 into apache:main Dec 19, 2022
@ShiKaiWi ShiKaiWi deleted the feat-object-store-ignore-write-back-to-cache branch December 19, 2022 07:29
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request May 15, 2023
* feat: support store with readonly cache

* chore: refactor the method name of MemCacheStore

* chore: use peek instead of get from readonly cache
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