-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[10.x] Prevent DB
Cache::get()
occur race condition (#49031)
* [10.x] Prevent Cache::get() occur race condition * Fix test * Add Cache Get and ForgetIfExpired integration * Use Cache::put() to store expired cache * Fix test * Add Cache Get and ForgetIfExpired integration test * Test Use Cache::put() to store expired cache * Fix wrong test statement * Fix test * Fix test * [10.x] Fix DatabaseStore `add()` failed due to incorrect key * Style fix * formatting --------- Co-authored-by: Taylor Otwell <[email protected]>
- Loading branch information
1 parent
59c509b
commit 708a90b
Showing
4 changed files
with
115 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters