diff options
author | ADAM David Alan Martin <adam.martin@10gen.com> | 2017-04-28 18:01:46 -0400 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2017-04-28 18:01:46 -0400 |
commit | b1054a04df0182fa6e4ccef53eefff90616aeea3 (patch) | |
tree | 0e8bf9f8dd420dbc6eb0724d2235dc6668fc8e3e /src/mongo/db/repl/replication_info.cpp | |
parent | 17807063eab1387023719e818c266dd31d16a0d0 (diff) | |
download | mongo-b1054a04df0182fa6e4ccef53eefff90616aeea3.tar.gz |
Revert "SERVER-27659 Persist Rollback Id"
This reverts commit ac6f185017f76cc7124373e97a2c55291d5c8956.
Diffstat (limited to 'src/mongo/db/repl/replication_info.cpp')
-rw-r--r-- | src/mongo/db/repl/replication_info.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/db/repl/replication_info.cpp b/src/mongo/db/repl/replication_info.cpp index a852ff23041..18ad4ab2d11 100644 --- a/src/mongo/db/repl/replication_info.cpp +++ b/src/mongo/db/repl/replication_info.cpp @@ -47,7 +47,6 @@ #include "mongo/db/repl/oplog.h" #include "mongo/db/repl/oplogreader.h" #include "mongo/db/repl/replication_coordinator_global.h" -#include "mongo/db/repl/storage_interface.h" #include "mongo/db/server_options.h" #include "mongo/db/server_parameters.h" #include "mongo/db/storage/storage_options.h" @@ -169,11 +168,7 @@ public: BSONObjBuilder result; appendReplicationInfo(opCtx, result, level); - - auto rbid = StorageInterface::get(opCtx)->getRollbackID(opCtx); - if (rbid.isOK()) { - result.append("rbid", rbid.getValue()); - } + getGlobalReplicationCoordinator()->processReplSetGetRBID(&result); return result.obj(); } |