aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@yahooinc.com>2022-05-20 13:35:17 +0000
committerHåvard Pettersen <havardpe@yahooinc.com>2022-05-20 13:35:17 +0000
commit34dc3ae992c1a2a36b915e17560e94aff0bac95e (patch)
tree6ac96bf9ba9c37c8e20e11c6e12ee764406ce218 /storage
parentc56f7a2164d6d3b982bfc17cd8790be6f415b7e9 (diff)
hold lock while notifying during final touch
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp b/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp
index a004dbe6d23..0f897d753f6 100644
--- a/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp
+++ b/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp
@@ -1174,7 +1174,6 @@ FileStorHandlerImpl::Stripe::release(const document::Bucket & bucket,
if (!entry._exclusiveLock && entry._sharedLocks.empty()) {
_lockedBuckets.erase(iter); // No more locks held
}
- guard.unlock();
_cond->notify_all();
}