diff options
author | Faustoleyva54 <fausto.leyva@mongodb.com> | 2022-03-03 20:01:51 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-03 20:52:18 +0000 |
commit | d9f9585cdcd285e9c12ba2fd459f9be7e666082d (patch) | |
tree | ef1ee3c22e50a6484400667e5f19d8cd0a2580a0 /src/mongo/db/catalog/collection_impl.h | |
parent | e16ca01d841ef74a8b9467778ae5456978570cbe (diff) | |
download | mongo-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.h | 5 |
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 |