issues
search
vanilladb
/
vanillacore
The core engine of VanillaDB
Apache License 2.0
194
stars
41
forks
source link
Fix bug in LockTable
#95
Open
koihia
opened
2 years ago
koihia
commented
2 years ago
lockerMap
should be a
ConcurrentHashMap
since it can be accessed by multiple threads.
When a transaction with
txNum
already has the lock for
obj
,
txNum
in
txWaitMap
is not removed even if it is not waiting on
anchor
.
lockerMap
should be aConcurrentHashMap
since it can be accessed by multiple threads.txNum
already has the lock forobj
,txNum
intxWaitMap
is not removed even if it is not waiting onanchor
.