Closed yowcow closed 6 years ago
In current sequence of storage Get op:
Get
if db is reloaded between step 1 and 2, retrieved pointer to db is unusable at step 3.
To fix this problem, the sequence should be:
Confirmed in boltstorage.
bdbstorage has different issue that it does Lock, not RLock, in Get operation.
Lock
RLock
In current sequence of storage
Get
op:if db is reloaded between step 1 and 2, retrieved pointer to db is unusable at step 3.
To fix this problem, the sequence should be: