diff options
Diffstat (limited to 'src/mongo/db/commands/resize_oplog.cpp')
-rw-r--r-- | src/mongo/db/commands/resize_oplog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/resize_oplog.cpp b/src/mongo/db/commands/resize_oplog.cpp index 2cd5f851cb4..31c2153a8da 100644 --- a/src/mongo/db/commands/resize_oplog.cpp +++ b/src/mongo/db/commands/resize_oplog.cpp @@ -105,7 +105,7 @@ public: WriteUnitOfWork wunit(opCtx); Status status = coll->getRecordStore()->updateCappedSize(opCtx, size); uassertStatusOK(status); - DurableCatalog::get(opCtx)->updateCappedSize(opCtx, coll->ns(), size); + DurableCatalog::get(opCtx)->updateCappedSize(opCtx, coll->getCatalogId(), size); wunit.commit(); LOG(0) << "replSetResizeOplog success, currentSize:" << size; return true; |