Skip to content
The Symfony PHP framework
Branch: master
Clone or download
nicolas-grekas feature #31437 [Cache] Add Redis Sentinel support (StephenClouse)
This PR was squashed before being merged into the 4.4-dev branch (closes #31437).

Discussion
----------

[Cache] Add Redis Sentinel support

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | symfony/symfony-docs#11545

This change adds support for Redis Sentinel clusters to the Cache component Redis adapter.

The DSN format is syntactically equivalent to cluster support, but adds a new parameter `redis_sentinel` that should be set to the sentinel service name.

This support requires the use of predis as the underlying connection library. The redis extension does not support sentinel at this time.

Commits
-------

80e8b21 [Cache] Add Redis Sentinel support
Latest commit 63d7309 May 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.composer Drop hirak/prestissimo May 12, 2016
.github Merge branch '3.4' into 4.2 May 9, 2019
src/Symfony feature #31437 [Cache] Add Redis Sentinel support (StephenClouse) May 22, 2019
.appveyor.yml Merge branch '3.4' into 4.2 Apr 12, 2019
.editorconfig Update .editorconfig Sep 6, 2018
.gitignore Add appveyor.yml for C.I. on Windows Aug 25, 2015
.php_cs.dist fixed CS Jan 16, 2019
.travis.yml Merge branch '4.2' May 8, 2019
CHANGELOG-4.0.md Merge branch '3.4' into 4.1 Aug 1, 2018
CHANGELOG-4.1.md updated CHANGELOG for 4.1.10 Jan 6, 2019
CHANGELOG-4.2.md updated CHANGELOG for 4.2.8 May 1, 2019
CHANGELOG-4.3.md updated CHANGELOG for 4.3.0-BETA1 May 9, 2019
CODE_OF_CONDUCT.md Added the Code of Conduct file Oct 10, 2018
CONTRIBUTING.md Mention the community review guide Dec 18, 2016
CONTRIBUTORS.md update CONTRIBUTORS for 3.4.27 May 1, 2019
LICENSE update year in license files Jan 1, 2019
README.md Merge branch '2.8' into 3.4 May 25, 2018
UPGRADE-4.0.md Merge branch '3.4' into 4.2 Feb 23, 2019
UPGRADE-4.1.md Merge branch '4.0' into 4.1 May 31, 2018
UPGRADE-4.2.md [Contracts] extract LocaleAwareInterface out of TranslatorInterface Dec 5, 2018
UPGRADE-4.3.md [Intl] Rename Regions to Countries May 1, 2019
UPGRADE-4.4.md [DI] deprecate short callables in yaml May 22, 2019
UPGRADE-5.0.md [DI] deprecate short callables in yaml May 22, 2019
composer.json Merge remote-tracking branch 'origin/4.3' May 16, 2019
link Merge branch '3.4' into 4.2 May 20, 2019
phpunit [HttpFoundation] fix tests Apr 19, 2019
phpunit.xml.dist [Cache] Add optimized FileSystem & Redis TagAware Adapters Apr 24, 2019

README.md

Symfony is a PHP framework for web applications and a set of reusable PHP components. Symfony is used by thousands of web applications (including BlaBlaCar.com and Spotify.com) and most of the popular PHP projects (including Drupal and Magento).

Installation

Documentation

Community

Contributing

Symfony is an Open Source, community-driven project with thousands of contributors. Join them contributing code or contributing documentation.

Security Issues

If you discover a security vulnerability within Symfony, please follow our disclosure procedure.

About Us

Symfony development is sponsored by SensioLabs, led by the Symfony Core Team and supported by Symfony contributors.

You can’t perform that action at this time.