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 the invalidate_all method to all caches #11

Merged
merged 17 commits into from
Mar 2, 2021
Merged

Conversation

tatsuya6502
Copy link
Member

@tatsuya6502 tatsuya6502 commented Feb 27, 2021

This pull request adds the invalidate_all method to all sync, future and unsync caches. The invalidate_all method was requested in #10.

  • Add invalidate_all method.
  • Update internal handle_upsert and evict methods to prevent problems including segfault caused by race conditions between the sync/eviction thread and client writes (especially invalidate).
  • Bump the version to 0.3.0.
  • Upgrade a dependency: once_cell 1.5 -> 1.7.

Copy link
Member Author

@tatsuya6502 tatsuya6502 left a comment

Choose a reason for hiding this comment

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

They look good to me.

@tatsuya6502 tatsuya6502 marked this pull request as ready for review March 2, 2021 11:38
@tatsuya6502 tatsuya6502 merged commit a0b5de6 into master Mar 2, 2021
@tatsuya6502 tatsuya6502 deleted the invalidate-all branch March 2, 2021 11:39
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.

1 participant