Commit 3540952
committed
This PR was merged into the 7.2 branch.
Discussion
----------
[Lock] Fallback to `eval` when `LOAD` fails due to missing script
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix symfony#59795
| License | MIT
* First attempts to execute the script using `evalSha`.
* If the script is missing (NOSCRIPT), tries to load it using script `LOAD`.
* If script `LOAD` is not supported, falls back to `eval`.
Commits
-------
420d996 [Lock] Fallback to `eval` when `LOAD` fails due to missing script
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
298 | 304 | | |
299 | 305 | | |
300 | 306 | | |
| |||
0 commit comments