Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commit606df24
committed
bug#61234 [Cache] RedisTrait::doFetch should use pipeline with GET's instead of MGET for Relay\Cluster (dorrogeray)
This PR was submitted for the 7.3 branch but it was merged into the 6.4 branch instead.Discussion----------[Cache] RedisTrait::doFetch should use pipeline with GET's instead of MGET for Relay\Cluster| Q | A| ------------- | ---| Branch? | 6.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Issues | Fix #...| License | MIT🛠️ `Relay\Cluster` should be expected to operate with >1 master nodes, and therefore its not safe to use `mget` when fetching the ids in `RedisTrait::doFetch(array $ids)` as they are not guaranteed to be on a same hash slot.This change makes `doFetch` use pipeline with `GET` commands when `$this->redis instanceof RelayCluster`Commits-------30a2ca0 [cache] RedisTrait::doFetch should use pipeline instead of mget for Relay\Cluster1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
| 437 | + | |
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
| |||
0 commit comments
Comments
(0)