You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an unexpected behavior while upgrading my project to Laravel 11, specifically related to changes in how Redis configurations are handled.
In previous versions of Laravel, defining a Redis cluster required adding configurations within a 'clusters' key in the config/database.php file. However, with Laravel 11, the documentation suggests defining Redis clusters directly within the config/database.php file, alongside the default and cache configurations.
The issue arises when attempting to define a Redis cluster while also using the default and cache configurations. Despite specifying a cluster configuration, the default and cache configurations are merged in, potentially causing conflicts or unexpected behavior.
Upgrade Laravel project to version 11.
Add a Redis cluster configuration as per the Laravel 11 documentation.
Notice that the default and cache configurations are still included, potentially conflicting with the cluster configuration.
The text was updated successfully, but these errors were encountered:
Laravel Version
11.0.3
PHP Version
8.3.3
Database Driver & Version
No response
Description
I've encountered an unexpected behavior while upgrading my project to Laravel 11, specifically related to changes in how Redis configurations are handled.
In previous versions of Laravel, defining a Redis cluster required adding configurations within a 'clusters' key in the config/database.php file. However, with Laravel 11, the documentation suggests defining Redis clusters directly within the config/database.php file, alongside the default and cache configurations.
The issue arises when attempting to define a Redis cluster while also using the default and cache configurations. Despite specifying a cluster configuration, the default and cache configurations are merged in, potentially causing conflicts or unexpected behavior.
Steps To Reproduce
Upgrade Laravel project to version 11.
Add a Redis cluster configuration as per the Laravel 11 documentation.
Notice that the default and cache configurations are still included, potentially conflicting with the cluster configuration.
The text was updated successfully, but these errors were encountered: