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(cache)!: add support for cache hints #123

Merged
merged 5 commits into from
Oct 1, 2020
Merged

feat(cache)!: add support for cache hints #123

merged 5 commits into from
Oct 1, 2020

Conversation

hongalex
Copy link
Collaborator

@hongalex hongalex commented Sep 29, 2020

What type of PR is this?
/kind feat

What this PR does / Why we need it:
Adds hints for how to use the cache.

Which issue(s) this PR fixes:

Closes #64

Special notes for your reviewer:
BREAKING CHANGE: this reworks the Hints field in the proto for easier access. Previously, hints were accessed as an array of hints, but having them as individual fields is an improvement discussed in #64.

api/triton.proto Outdated Show resolved Hide resolved
internal/app/server/triton.go Outdated Show resolved Hide resolved
internal/app/server/triton.go Outdated Show resolved Hide resolved
api/triton.proto Outdated Show resolved Hide resolved
internal/app/server/triton.go Outdated Show resolved Hide resolved
internal/app/server/triton.go Outdated Show resolved Hide resolved
@hongalex hongalex requested a review from yuryu October 1, 2020 20:31
Copy link
Member

@yuryu yuryu left a comment

Choose a reason for hiding this comment

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

lgtm

@hongalex hongalex merged commit be6ec74 into master Oct 1, 2020
@hongalex hongalex deleted the cache-hints branch October 1, 2020 22:20
yuryu added a commit to yuryu/open-saves that referenced this pull request Jul 24, 2022
Deletes hint from QueryRecordsResponse.
QueryRecordsResponse has a hint field but it should not have been there...
Hints are something passed from the client not returned by the server.
It's been around since googleforgames#123 but never been implemented.
yuryu added a commit that referenced this pull request Jul 28, 2022
Deletes hint from QueryRecordsResponse.
QueryRecordsResponse has a hint field but it should not have been there...
Hints are something passed from the client not returned by the server.
It's been around since #123 but never been implemented.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Design: cache behavior
3 participants