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

Paul MS cache update #1887

Merged
merged 5 commits into from Sep 3, 2021
Merged

Paul MS cache update #1887

merged 5 commits into from Sep 3, 2021

Conversation

paulnpdev
Copy link
Member

@paulnpdev paulnpdev commented Sep 2, 2021

What changed?
Ensure cache operations are no-ops for uncached objects; make sure zero-size cache behaves.

Why?

How did you test it?
added unit test

Potential risks
errors here would be very troublesome to History Service, Matching, other users (if any) of lru cache.

Is hotfix candidate?
No

@paulnpdev paulnpdev requested a review from a team September 2, 2021 20:06
@CLAassistant
Copy link

CLAassistant commented Sep 2, 2021

CLA assistant check
All committers have signed the CLA.

make LRU pinning API no-op for non-pinned caches
make sure all operations on zero-size cache are sane
Copy link
Contributor

@mmcshane mmcshane left a comment

Choose a reason for hiding this comment

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

I'm curious what prompted this?

@paulnpdev paulnpdev merged commit 2637976 into master Sep 3, 2021
@paulnpdev paulnpdev deleted the paul-cache-refactor branch September 3, 2021 23:50
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.

None yet

5 participants