diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-04-21 10:27:59 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2017-04-28 19:52:01 -0400 |
commit | 7358c66cbf77203fa0803417a4442e35f11bf3f7 (patch) | |
tree | 947ec510b25c7643e3eb8c9e948fdaa75c163888 /src/mongo/db/repl/replication_coordinator.h | |
parent | 60636b4d3ae60a24c080c7250459814eef5e7c87 (diff) | |
download | mongo-7358c66cbf77203fa0803417a4442e35f11bf3f7.tar.gz |
SERVER-27659 Persist Rollback Id
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mongo/db/repl/replication_coordinator.h b/src/mongo/db/repl/replication_coordinator.h index c53f5a7b655..a9ccd9f642a 100644 --- a/src/mongo/db/repl/replication_coordinator.h +++ b/src/mongo/db/repl/replication_coordinator.h @@ -633,17 +633,6 @@ public: const BSONObj& configObj, BSONObjBuilder* resultObj) = 0; - /* - * Handles an incoming replSetGetRBID command. - * Adds BSON to 'resultObj'; returns a Status with either OK or an error message. - */ - virtual Status processReplSetGetRBID(BSONObjBuilder* resultObj) = 0; - - /** - * Increments this process's rollback id. Called every time a rollback occurs. - */ - virtual void incrementRollbackID() = 0; - /** * Arguments to the replSetFresh command. */ @@ -765,7 +754,8 @@ public: * Prepares a metadata object with the ReplSetMetadata and the OplogQueryMetadata depending * on what has been requested. */ - virtual void prepareReplMetadata(const BSONObj& metadataRequestObj, + virtual void prepareReplMetadata(OperationContext* opCtx, + const BSONObj& metadataRequestObj, const OpTime& lastOpTimeFromClient, BSONObjBuilder* builder) const = 0; |