Skip to content

Conversation

@vadimonus
Copy link
Contributor

@vadimonus vadimonus commented Nov 21, 2025

Split from #57714

Unskipping last tests in RedisStoreTest. They're failing with Cannot use 'DEL' with redis-cluster (see https://github.com/laravel/framework/actions/runs/19557692214/job/56003381622?pr=57848).

Unlike KEYS command from (#57841), DEL works correctly with PredisclusterConnection, if all of keys hashes to same slot. So just bringing new DEL implementation to PredisClusterConnection would change behavior, making multiple calls where previously was one.

So i fix only RedisTaggedCache::flushValues for such case. Assuming, if we are speaking about tagged cache, in most cases keys wil hash to different slots. So deleting each key separately, wrapping it with pipeline to reduce waiting.

@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@vadimonus vadimonus marked this pull request as ready for review November 21, 2025 02:58
@taylorotwell taylorotwell merged commit 82a26e0 into laravel:12.x Nov 21, 2025
72 of 74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants