summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-12-20 21:38:38 +0100
committerGitHub <noreply@github.com>2023-12-20 21:38:38 +0100
commit37ad949fb5bb3315c2aa43abe4ac2e0e8119f0b5 (patch)
treefeeb7103f4b36ce3e39603bd42c1a0c29a7382d0 /searchcore
parent600230decc06192b63a34f2b4c97ab9552e24ac8 (diff)
parent2cf8d8faf2193a57fbe324d5293c5d3ed739b3be (diff)
Merge pull request #29719 from vespa-engine/balder/drop-very-costly-assert
- Having expensive asserts during shutdown is not worthwhile. It does…
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;