Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Cache] Redis Tag Aware warn on wrong eviction policy#34403

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@andrerom
Copy link

@andreromandrerom commentedNov 15, 2019
edited
Loading

QA
Branch?4.4
Bug fix?yes
Deprecations?no
Ticketsn.a.
LicenseMIT
Doc PRn.a.

Adds validation to make sure Redis has been setup with the supported eviction policy to avoid surprises when cache suddenly is inconsistent.

This PR replaces#34178, and instead of checking in constructor and throwing it only checks on save, warns about this and refuses to save cache as suggested on the other PR.

TODO:

  • Adapt test setups for this to set correct eviction policyIt already uses default noeviction

@andreromandrerom changed the titleRedis tag aware warn on wrong eviction policy[Cache] Redis Tag Aware warn on wrong eviction policyNov 15, 2019
@andreromandreromforce-pushed theredisTagAware_warn_on_wrong_eviction_policy branch from09972f9 to304ea8dCompareNovember 16, 2019 00:21
@nicolas-grekasnicolas-grekas added this to the4.4 milestoneNov 16, 2019
@nicolas-grekasnicolas-grekasforce-pushed theredisTagAware_warn_on_wrong_eviction_policy branch from304ea8d toe77f6deCompareNovember 16, 2019 08:54
@nicolas-grekas
Copy link
Member

Thank you@andrerom.

nicolas-grekas added a commit that referenced this pull requestNov 16, 2019
…rerom)This PR was squashed before being merged into the 4.4 branch.Discussion----------[Cache] Redis Tag Aware warn on wrong eviction policy| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | yes| Deprecations? | no| Tickets       | n.a.| License       | MIT| Doc PR        | n.a.Adds validation to make sure Redis has been setup with the supported eviction policy to avoid surprises when cache suddenly is inconsistent.This PR replaces#34178, and instead of checking in constructor and throwing it only checks on save, warns about this and refuses to save cache as suggested on the other PR.TODO:- [x] ~Adapt test setups for this to set correct eviction policy~ _It already uses default noeviction_Commits-------e77f6de [Cache] Redis Tag Aware warn on wrong eviction policy
@nicolas-grekasnicolas-grekas merged commite77f6de intosymfony:4.4Nov 16, 2019
This was referencedNov 17, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

3 participants

@andrerom@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp