summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface_impl.h
diff options
context:
space:
mode:
authorSiyuan Zhou <siyuan.zhou@mongodb.com>2017-10-24 00:11:01 -0400
committerSiyuan Zhou <siyuan.zhou@mongodb.com>2017-10-27 17:54:41 -0400
commitdb64381873afebf1532a0fd576499f72da00b703 (patch)
tree8808de08a4f5231e365d72fc7a38a827e357a5e3 /src/mongo/db/repl/storage_interface_impl.h
parent47d0725774deadc00ef3b6d29a0f9be4ee134683 (diff)
downloadmongo-db64381873afebf1532a0fd576499f72da00b703.tar.gz
SERVER-31002 minValid should alway be set to existent OpTime.
Diffstat (limited to 'src/mongo/db/repl/storage_interface_impl.h')
-rw-r--r--src/mongo/db/repl/storage_interface_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl.h b/src/mongo/db/repl/storage_interface_impl.h
index 94d973ed4e7..ee4702530c9 100644
--- a/src/mongo/db/repl/storage_interface_impl.h
+++ b/src/mongo/db/repl/storage_interface_impl.h
@@ -114,6 +114,11 @@ public:
const NamespaceString& nss,
const BSONObj& update) override;
+ Status updateSingleton(OperationContext* opCtx,
+ const NamespaceString& nss,
+ const BSONObj& query,
+ const BSONObj& update) override;
+
StatusWith<BSONObj> findById(OperationContext* opCtx,
const NamespaceString& nss,
const BSONElement& idKey) override;