summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/config_server_op_observer.h
diff options
context:
space:
mode:
authorJason Chan <jason.chan@mongodb.com>2021-10-19 18:40:08 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-26 18:22:07 +0000
commitf47995bdb089be4beb4d0bb4e277f097df064087 (patch)
tree4277cbc2a9e81e635910eb6227a2d05bd334352c /src/mongo/db/s/config_server_op_observer.h
parent1cf0b1f960473c325f41a004a787560e71cd84b1 (diff)
downloadmongo-f47995bdb089be4beb4d0bb4e277f097df064087.tar.gz
SERVER-60509 onReplicationRollback should crash on failure
Diffstat (limited to 'src/mongo/db/s/config_server_op_observer.h')
-rw-r--r--src/mongo/db/s/config_server_op_observer.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/s/config_server_op_observer.h b/src/mongo/db/s/config_server_op_observer.h
index b9f12804a2d..53e54132952 100644
--- a/src/mongo/db/s/config_server_op_observer.h
+++ b/src/mongo/db/s/config_server_op_observer.h
@@ -197,13 +197,11 @@ public:
void onTransactionAbort(OperationContext* opCtx,
boost::optional<OplogSlot> abortOplogEntryOpTime) override {}
- void onReplicationRollback(OperationContext* opCtx,
- const RollbackObserverInfo& rbInfo) noexcept;
-
void onMajorityCommitPointUpdate(ServiceContext* service,
const repl::OpTime& newCommitPoint) override;
private:
+ void _onReplicationRollback(OperationContext* opCtx, const RollbackObserverInfo& rbInfo);
void _registerTopologyTimeTickPoint(Timestamp newTopologyTime);
void _tickTopologyTimeIfNecessary(ServiceContext* service, Timestamp newCommitPointTime);