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

Add cacheOnly option to StoreReadRequest #586

Merged
merged 5 commits into from
Dec 7, 2023

Conversation

wbrawner
Copy link
Contributor

I took a stab at implementing the cache-only reads for the StoreReadRequest. I thought sending back NoNewData made more sense than Error since reading from an empty or invalid cache isn't exactly a problem per-se. Of note is that this doesn't hit the disk either, but I think that's fine since the original request was to only hit the cache

This closes #457

Signed-off-by: William Brawner <me@wbrawner.com>
Signed-off-by: William Brawner <me@wbrawner.com>
@wbrawner
Copy link
Contributor Author

@matt-ramotar I seem to be unable to request a review from you for some reason. Sorry if this is already on your radar, just wanted to make sure you saw it!

Signed-off-by: William Brawner <me@wbrawner.com>
Signed-off-by: William Brawner <william.p.brawner@aexp.com>
…ata sources configured

Signed-off-by: William Brawner <william.p.brawner@aexp.com>
@wbrawner wbrawner requested a review from matt-ramotar December 1, 2023 18:49
Copy link
Collaborator

@matt-ramotar matt-ramotar left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏽

@matt-ramotar matt-ramotar merged commit ab4d2e0 into MobileNativeFoundation:main Dec 7, 2023
1 check passed
@wbrawner wbrawner deleted the cache-only branch December 8, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Feature Request] Cache only option for Store 5
3 participants