diff options
author | Geir Storli <geirst@verizonmedia.com> | 2021-05-06 15:37:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 15:37:29 +0200 |
commit | 4557279ee63aa90817a898703c57237fe31d1b1b (patch) | |
tree | a11aca5ce2b8754ff893d1998647dd37f2de1076 | |
parent | 7e46fe3d6a80ad5b125031d03ed878b05e49fec0 (diff) | |
parent | c3585a6c1cccd533d2305491d0d85959dc4e3033 (diff) |
Merge pull request #17763 from vespa-engine/geirst/remove-assert-from-distributor-stripe-thread
Remove assert for a scenario that might occur in wait_until_unparked()
-rw-r--r-- | storage/src/vespa/storage/distributor/distributor_stripe_thread.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/distributor/distributor_stripe_thread.cpp b/storage/src/vespa/storage/distributor/distributor_stripe_thread.cpp index 7359fbe5cf8..372736b8d7d 100644 --- a/storage/src/vespa/storage/distributor/distributor_stripe_thread.cpp +++ b/storage/src/vespa/storage/distributor/distributor_stripe_thread.cpp @@ -70,7 +70,6 @@ void DistributorStripeThread::wait_until_event_notified_or_timed_out() noexcept void DistributorStripeThread::wait_until_unparked() noexcept { std::unique_lock lock(_mutex); - assert(should_park_relaxed()); // _should_park is always written within _mutex, relaxed load is safe. _park_cond.wait(lock, [this]{ return !should_park_relaxed(); }); } |