summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-12-20 10:31:21 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-12-20 10:31:21 +0000
commit2cf8d8faf2193a57fbe324d5293c5d3ed739b3be (patch)
treed1c97740fc06b523c1bcb2d894397213ad29a654 /searchcore
parent101b4e379b72d6168cd8654066bcae7348cf2f2b (diff)
- Having expensive asserts during shutdown is not worthwhile. It does not prevent persisting any errors,
nor does it provide any information about what went wrong.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/bucketdb/bucketdb.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/bucketdb/bucketdb.cpp b/searchcore/src/vespa/searchcore/proton/bucketdb/bucketdb.cpp
index ddc6441210a..148877ed6cc 100644
--- a/searchcore/src/vespa/searchcore/proton/bucketdb/bucketdb.cpp
+++ b/searchcore/src/vespa/searchcore/proton/bucketdb/bucketdb.cpp
@@ -62,7 +62,6 @@ BucketDB::checkActiveCount() const {
void
BucketDB::unloadBucket(BucketId bucket, const BucketState &delta)
{
- checkActiveCount();
BucketState *state = getBucketStatePtr(bucket);
assert(state);
*state -= delta;