diff options
Diffstat (limited to 'src/mongo/db/op_observer.h')
-rw-r--r-- | src/mongo/db/op_observer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/op_observer.h b/src/mongo/db/op_observer.h index d2b4c92b458..29e30862a1b 100644 --- a/src/mongo/db/op_observer.h +++ b/src/mongo/db/op_observer.h @@ -106,6 +106,13 @@ public: virtual void onStartIndexBuildSinglePhase(OperationContext* opCtx, const NamespaceString& nss) = 0; + /** + * Generates a timestamp by writing a no-op oplog entry. This is only necessary for tenant + * migrations that are aborting single-phase index builds. + */ + virtual void onAbortIndexBuildSinglePhase(OperationContext* opCtx, + const NamespaceString& nss) = 0; + virtual void onCommitIndexBuild(OperationContext* opCtx, const NamespaceString& nss, CollectionUUID collUUID, |