Fix lock mismatch
Former-commit-id: 98eb0e778bc3a5ff7da917d39997b2fdb4adbca6
This commit is contained in:
parent
44db4746cb
commit
65f9f25ec5
@ -140,5 +140,6 @@ size_t StorageCache::count() const
|
||||
|
||||
void StorageCache::beginWriteBatch() {
|
||||
serverAssert(GlobalLocksAcquired()); // Otherwise we deadlock
|
||||
m_lock.lock();
|
||||
m_spstorage->beginWriteBatch();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user