mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
#119 translate CRNL to NL
This commit is contained in:
parent
6721a2c1e7
commit
ad2f063d99
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ PATENT RIGHTS GRANT:
|
|||
// #5978 is fixed. Here is what we do. We have four pairs with
|
||||
// blocknums and fullhashes of 1,2,3,4. The cachetable has only
|
||||
// two bucket mutexes, so 1 and 3 share a pair mutex, as do 2 and 4.
|
||||
// We pin all four with expensive write locks. Then, on backgroud threads,
|
||||
// We pin all four with expensive write locks. Then, on backgroud threads,
|
||||
// we call get_and_pin_nonblocking on 3, where the unlockers unpins 2, and
|
||||
// we call get_and_pin_nonblocking on 4, where the unlockers unpins 1. Run this
|
||||
// enough times, and we should see a deadlock before the fix, and no deadlock
|
||||
|
|
Loading…
Reference in a new issue