summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/storage/mmap_v1/record_store_v1_simple.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/storage/mmap_v1/record_store_v1_simple.cpp b/src/mongo/db/storage/mmap_v1/record_store_v1_simple.cpp
index 0b1e2f867c1..a5725767cb8 100644
--- a/src/mongo/db/storage/mmap_v1/record_store_v1_simple.cpp
+++ b/src/mongo/db/storage/mmap_v1/record_store_v1_simple.cpp
@@ -453,7 +453,8 @@ Status SimpleRecordStoreV1::compact(OperationContext* opCtx,
_details->setLastExtentSize(opCtx, 0);
// create a new extent so new records go there
- increaseStorageSize(opCtx, _details->lastExtentSize(opCtx), true);
+ const bool enforceQuota = false;
+ increaseStorageSize(opCtx, _details->lastExtentSize(opCtx), enforceQuota);
wunit.commit();
}