Skip to content

Commit

Permalink
TEMPORARY FIX: notify all threads to avoid a deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
iagaponenko committed Sep 5, 2024
1 parent 8f17e37 commit 098f5ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/replica/ingest/IngestRequestMgr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,9 @@ void IngestRequestMgr::submit(shared_ptr<IngestRequest> const& request) {
// Concurrency has not changed, or got lower. Unblock one processing thread for
// the new request only.
lock.unlock();
_cv.notify_one();
//_cv.notify_one();
// TEMPORARY FIX: notify all threads to avoid a deadlock.
_cv.notify_all();
}
}

Expand Down

0 comments on commit 098f5ee

Please sign in to comment.