summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/shard_server_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/s/shard_server_op_observer.h
parentb901d772a793a3aa73acb55c30242e1d000ad0d7 (diff)
downloadmongo-2e4ce610a2c6d42a2cd137d1bf08d8c547fdfd3a.tar.gz
SERVER-60509 make OpObserver::OnReplicationRollback noexcept
Diffstat (limited to 'src/mongo/db/s/shard_server_op_observer.h')
-rw-r--r--src/mongo/db/s/shard_server_op_observer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/s/shard_server_op_observer.h b/src/mongo/db/s/shard_server_op_observer.h
index 59861829d18..7447298320b 100644
--- a/src/mongo/db/s/shard_server_op_observer.h
+++ b/src/mongo/db/s/shard_server_op_observer.h
@@ -196,7 +196,8 @@ public:
void onTransactionAbort(OperationContext* opCtx,
boost::optional<OplogSlot> abortOplogEntryOpTime) override {}
- void onReplicationRollback(OperationContext* opCtx, const RollbackObserverInfo& rbInfo);
+ void onReplicationRollback(OperationContext* opCtx,
+ const RollbackObserverInfo& rbInfo) noexcept;
void onMajorityCommitPointUpdate(ServiceContext* service,
const repl::OpTime& newCommitPoint) override {}