diff options
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_external_state_impl.cpp')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_external_state_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp b/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp index c78b129ba39..215e6d96e0a 100644 --- a/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp +++ b/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp @@ -307,7 +307,7 @@ StatusWith<OpTime> ReplicationCoordinatorExternalStateImpl::loadLastOpTime(Opera << " entry to have type Timestamp, but found " << typeName(tsElement.type())); } - return OpTime::parseFromBSON(oplogEntry); + return OpTime::parseFromOplogEntry(oplogEntry); } catch (const DBException& ex) { return StatusWith<OpTime>(ex.toStatus()); } |