From 2cf8d8faf2193a57fbe324d5293c5d3ed739b3be Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Wed, 20 Dec 2023 10:31:21 +0000 Subject: - 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. --- searchcore/src/vespa/searchcore/proton/bucketdb/bucketdb.cpp | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3