summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface_impl.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2017-04-19 00:03:27 -0400
committerBenety Goh <benety@mongodb.com>2017-04-19 16:13:22 -0400
commit2f7b34fc95a2b101344fd7ab1f51d97ecf02da46 (patch)
treebaf12028740171d60299d9f37b835b80dd6da739 /src/mongo/db/repl/storage_interface_impl.h
parent6dfa595dda5e67f44daedccabf2ece86d6f0b52b (diff)
downloadmongo-2f7b34fc95a2b101344fd7ab1f51d97ecf02da46.tar.gz
SERVER-28211 add StorageInterface::deleteById()
Diffstat (limited to 'src/mongo/db/repl/storage_interface_impl.h')
-rw-r--r--src/mongo/db/repl/storage_interface_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl.h b/src/mongo/db/repl/storage_interface_impl.h
index b5769c69cc1..76bbc064e0f 100644
--- a/src/mongo/db/repl/storage_interface_impl.h
+++ b/src/mongo/db/repl/storage_interface_impl.h
@@ -121,6 +121,10 @@ public:
const NamespaceString& nss,
const BSONElement& idKey) override;
+ StatusWith<BSONObj> deleteById(OperationContext* opCtx,
+ const NamespaceString& nss,
+ const BSONElement& idKey) override;
+
Status upsertById(OperationContext* opCtx,
const NamespaceString& nss,
const BSONElement& idKey,