summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_noop.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2017-08-14 16:01:51 -0400
committerBenety Goh <benety@mongodb.com>2017-08-15 12:00:35 -0400
commit578e5c4f168db90ebb7ec661831363575d801f5b (patch)
tree4fb93cdd7ba236270816d4e9692614bf43a94496 /src/mongo/db/op_observer_noop.h
parenteacef2db99841b1a88837f0e10d1c8726656dc0f (diff)
downloadmongo-578e5c4f168db90ebb7ec661831363575d801f5b.tar.gz
SERVER-30212 OpObserver::onRenameCollection() returns rename op time
Diffstat (limited to 'src/mongo/db/op_observer_noop.h')
-rw-r--r--src/mongo/db/op_observer_noop.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mongo/db/op_observer_noop.h b/src/mongo/db/op_observer_noop.h
index 9abcebd9d4e..7e51f18177b 100644
--- a/src/mongo/db/op_observer_noop.h
+++ b/src/mongo/db/op_observer_noop.h
@@ -81,14 +81,14 @@ public:
OptionalCollectionUUID uuid,
const std::string& indexName,
const BSONObj& idxDescriptor) override;
- void onRenameCollection(OperationContext* opCtx,
- const NamespaceString& fromCollection,
- const NamespaceString& toCollection,
- OptionalCollectionUUID uuid,
- bool dropTarget,
- OptionalCollectionUUID dropTargetUUID,
- OptionalCollectionUUID dropSourceUUID,
- bool stayTemp) override;
+ repl::OpTime onRenameCollection(OperationContext* opCtx,
+ const NamespaceString& fromCollection,
+ const NamespaceString& toCollection,
+ OptionalCollectionUUID uuid,
+ bool dropTarget,
+ OptionalCollectionUUID dropTargetUUID,
+ OptionalCollectionUUID dropSourceUUID,
+ bool stayTemp) override;
void onApplyOps(OperationContext* opCtx,
const std::string& dbName,
const BSONObj& applyOpCmd) override;