alternative-laravel-cache icon indicating copy to clipboard operation
alternative-laravel-cache copied to clipboard

Bug in cache key name generation. Race condition.

Open magnetic5355 opened this issue 2 years ago • 1 comments

Current release of Alternative Laravel Cache PHP 8.1 Laravel 9.42 Octane

When doing combinations of Puts and Forgets on the same key name within the same call, different key hashes are generated resulting in unpredictable results.

It also appears that when requesting the keys different versions of the key are returned.

magnetic5355 avatar Dec 04 '22 21:12 magnetic5355

@caesarcxiv Hi, can you provide a code that I can use to test and debug the problem?

swayok avatar Dec 05 '22 07:12 swayok