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
* 6.0:
[HttpKernel] Fix test sensitivity on xdebug.file_link_format
[HttpKernel] Fix non-scalar check in surrogate fragment renderer
[Debug][ErrorHandler] fix operator precedence
[Cache] Ensured that redis adapter can use multiple redis sentinel hosts
[DoctrineBridge] fix tests
[Security] Allow redirect after login to absolute URLs
$sentinel = new \RedisSentinel($host, $port, $params['timeout'], (string) $params['persistent_id'], $params['retry_interval'], $params['read_timeout']);
200
206
201
-
if (!$address = $sentinel->getMasterAddrByName($params['redis_sentinel'])) {
202
-
thrownewInvalidArgumentException(sprintf('Failed to retrieve master information from master name "%s" and address "%s:%d".', $params['redis_sentinel'], $host, $port));
207
+
if ($address = $sentinel->getMasterAddrByName($params['redis_sentinel'])) {
208
+
[$host, $port] = $address;
203
209
}
210
+
} while (++$hostIndex < \count($hosts) && !$address);
204
211
205
-
[$host, $port] = $address;
212
+
if (isset($params['redis_sentinel']) && !$address) {
213
+
thrownewInvalidArgumentException(sprintf('Failed to retrieve master information from sentinel "%s" and dsn "%s".', $params['redis_sentinel'], $dsn));
0 commit comments