summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer.h
diff options
context:
space:
mode:
authorJason Chan <jason.chan@mongodb.com>2021-10-18 14:54:44 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-19 15:33:29 +0000
commit2e4ce610a2c6d42a2cd137d1bf08d8c547fdfd3a (patch)
treea6129162a681ab35fdb798ecddbcc402e9e2dcf5 /src/mongo/db/op_observer.h
parentb901d772a793a3aa73acb55c30242e1d000ad0d7 (diff)
downloadmongo-2e4ce610a2c6d42a2cd137d1bf08d8c547fdfd3a.tar.gz
SERVER-60509 make OpObserver::OnReplicationRollback noexcept
Diffstat (limited to 'src/mongo/db/op_observer.h')
-rw-r--r--src/mongo/db/op_observer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer.h b/src/mongo/db/op_observer.h
index b804bf6b2ef..a8c3bc38e0a 100644
--- a/src/mongo/db/op_observer.h
+++ b/src/mongo/db/op_observer.h
@@ -479,7 +479,7 @@ public:
* called when using any other rollback algorithm i.e "rollback via refetch".
*/
virtual void onReplicationRollback(OperationContext* opCtx,
- const RollbackObserverInfo& rbInfo) = 0;
+ const RollbackObserverInfo& rbInfo) noexcept = 0;
/**
* Called when the majority commit point is updated by replication.