diff options
author | Benety Goh <benety@mongodb.com> | 2019-01-08 18:54:38 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2019-01-08 18:54:54 -0500 |
commit | ecf269ff6494930ae4dfa98f66c4cbd6335cede2 (patch) | |
tree | f4b8d60e6a09812b06c6d65ff7645d70efded954 /src/mongo/db/s/config_server_op_observer.h | |
parent | e2b8d928d796b4b6a6144bc4aa27db6fe95bfdd8 (diff) | |
download | mongo-ecf269ff6494930ae4dfa98f66c4cbd6335cede2.tar.gz |
SERVER-38800 OpObserver accepts numRecords for drop and rename operations
Diffstat (limited to 'src/mongo/db/s/config_server_op_observer.h')
-rw-r--r-- | src/mongo/db/s/config_server_op_observer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/s/config_server_op_observer.h b/src/mongo/db/s/config_server_op_observer.h index 458d9627955..3b128534f3d 100644 --- a/src/mongo/db/s/config_server_op_observer.h +++ b/src/mongo/db/s/config_server_op_observer.h @@ -97,6 +97,7 @@ public: repl::OpTime onDropCollection(OperationContext* opCtx, const NamespaceString& collectionName, OptionalCollectionUUID uuid, + std::uint64_t numRecords, CollectionDropType dropType) override; void onDropIndex(OperationContext* opCtx, @@ -110,12 +111,14 @@ public: const NamespaceString& toCollection, OptionalCollectionUUID uuid, OptionalCollectionUUID dropTargetUUID, + std::uint64_t numRecords, bool stayTemp) override {} repl::OpTime preRenameCollection(OperationContext* opCtx, const NamespaceString& fromCollection, const NamespaceString& toCollection, OptionalCollectionUUID uuid, OptionalCollectionUUID dropTargetUUID, + std::uint64_t numRecords, bool stayTemp) override { return repl::OpTime(); } |