Skip to content

Conversation

renan
Copy link
Contributor

@renan renan commented Dec 7, 2020

nicolas-grekas added a commit to symfony/symfony that referenced this pull request Dec 8, 2020
…s/phpredis extension (renan)

This PR was squashed before being merged into the 5.3-dev branch.

Discussion
----------

[Cache] Support Redis Sentinel mode when using phpredis/phpredis extension

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | Fix #39362
| License       | MIT
| Doc PR        | symfony/symfony-docs#14668

The version 5.2.0 of the [Redis PHP extension](http://pecl.php.net/package/redis), released back in March 2020, added support for Redis Sentinel mode with the help of the `RedisSentinel` class.

Usage of the `Symfony/Cache RedisAdapter` can continue to be the same, thus relying on the `$options['redis_persistent']` option to both enable and define the master name.

Commits
-------

814ffab [Cache] Support Redis Sentinel mode when using phpredis/phpredis extension
@OskarStark OskarStark added this to the 5.3 milestone Jan 7, 2021
@OskarStark
Copy link
Contributor

Thank you Renan.

@OskarStark OskarStark merged commit e9a9e71 into symfony:5.x Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants