summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_impl.h
diff options
context:
space:
mode:
authorFaustoleyva54 <fausto.leyva@mongodb.com>2022-03-03 20:01:51 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-03 20:52:18 +0000
commitd9f9585cdcd285e9c12ba2fd459f9be7e666082d (patch)
treeef1ee3c22e50a6484400667e5f19d8cd0a2580a0 /src/mongo/db/catalog/collection_impl.h
parente16ca01d841ef74a8b9467778ae5456978570cbe (diff)
downloadmongo-d9f9585cdcd285e9c12ba2fd459f9be7e666082d.tar.gz
SERVER-1864 Support Capped Collection Size Increase
Diffstat (limited to 'src/mongo/db/catalog/collection_impl.h')
-rw-r--r--src/mongo/db/catalog/collection_impl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/collection_impl.h b/src/mongo/db/catalog/collection_impl.h
index be5153833d7..5c21e188dc1 100644
--- a/src/mongo/db/catalog/collection_impl.h
+++ b/src/mongo/db/catalog/collection_impl.h
@@ -343,7 +343,9 @@ public:
void updateClusteredIndexTTLSetting(OperationContext* opCtx,
boost::optional<int64_t> expireAfterSeconds) final;
- Status updateCappedSize(OperationContext* opCtx, long long newCappedSize) final;
+ Status updateCappedSize(OperationContext* opCtx,
+ boost::optional<long long> newCappedSize,
+ boost::optional<long long> newCappedMax) final;
//
// Stats
@@ -580,7 +582,6 @@ private:
// Capped information.
const bool _isCapped;
- const long long _cappedMaxDocs;
// For capped deletes performed on collections where '_needCappedLock' is false, the mutex
// below protects '_cappedFirstRecord'. Otherwise, when '_needCappedLock' is true, the