summaryrefslogtreecommitdiff
path: root/src/mongo/db/timeseries
diff options
context:
space:
mode:
authorDan Larkin-York <dan.larkin-york@mongodb.com>2021-04-08 23:06:55 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-08 23:48:10 +0000
commitfbcf5da095254189b9c40c0403ef59a37046a7de (patch)
tree69b487163813284f982e5a1e82cc345cdfcd03c1 /src/mongo/db/timeseries
parenta9cdb4f8ac50bfdbfd013515f16be7382d9e877b (diff)
downloadmongo-fbcf5da095254189b9c40c0403ef59a37046a7de.tar.gz
SERVER-55948 BucketCatalog::_abort should not set expiringBuckets flag
Diffstat (limited to 'src/mongo/db/timeseries')
-rw-r--r--src/mongo/db/timeseries/bucket_catalog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/timeseries/bucket_catalog.cpp b/src/mongo/db/timeseries/bucket_catalog.cpp
index 3c743421c74..f0d5862ba72 100644
--- a/src/mongo/db/timeseries/bucket_catalog.cpp
+++ b/src/mongo/db/timeseries/bucket_catalog.cpp
@@ -484,7 +484,7 @@ void BucketCatalog::_abort(stdx::unique_lock<Mutex>& lk,
}
lk.unlock();
- _removeBucket(bucket, true /* bucketIsUnused */);
+ _removeBucket(bucket, false /* expiringBuckets */);
}
void BucketCatalog::_markBucketIdle(Bucket* bucket) {