From 05d24957269dc953f23af88f505191be9142dc50 Mon Sep 17 00:00:00 2001 From: sdong Date: Mon, 3 Nov 2014 18:30:55 -0800 Subject: [PATCH] SERVER-15932 Fix build break of rocks storage engine --- src/mongo/db/storage/rocks/rocks_engine.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/mongo/db/storage/rocks/rocks_engine.h b/src/mongo/db/storage/rocks/rocks_engine.h index 28f6b5d..b6a3d51 100644 --- a/src/mongo/db/storage/rocks/rocks_engine.h +++ b/src/mongo/db/storage/rocks/rocks_engine.h @@ -96,6 +96,19 @@ namespace mongo { return true; } + virtual bool isDurable() const { return true; } + + virtual int64_t getIdentSize(OperationContext* opCtx, + const StringData& ident) { + // TODO: return correct size. + return 1; + } + + virtual Status repairIdent(OperationContext* opCtx, + const StringData& ident) { + return Status::OK(); + } + // rocks specific api rocksdb::DB* getDB() { return _db.get(); } -- 1.8.1