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
  1. lockerMap should be a ConcurrentHashMap since it can be accessed by multiple threads.
  2. 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.