diff options
author | Dan Larkin-York <dan.larkin-york@mongodb.com> | 2021-04-12 13:33:25 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-12 13:54:27 +0000 |
commit | ed27ec70a2e4199b40465531451f3afd3570b9c8 (patch) | |
tree | a3bf9ef48dc7191a4655ef8309a983f29592b171 | |
parent | 27e0cb191d1c26ea5fc78f3b81ebd3fedafd8126 (diff) | |
download | mongo-ed27ec70a2e4199b40465531451f3afd3570b9c8.tar.gz |
SERVER-55773 Explicitly ignore unchecked return value in BucketCatalog::_abort
-rw-r--r-- | src/mongo/db/timeseries/bucket_catalog.cpp | 2 |
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 f0d5862ba72..f130895c4a8 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, false /* expiringBuckets */); + [[maybe_unused]] bool removed = _removeBucket(bucket, false /* expiringBuckets */); } void BucketCatalog::_markBucketIdle(Bucket* bucket) { |