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 | 10 |
1 files changed, 10 insertions, 0 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 cabdbe1eece..5744e7a3cd0 100644 --- a/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp +++ b/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp @@ -750,6 +750,16 @@ bool ReplicationCoordinatorExternalStateImpl::isSelf(const HostAndPort& host, Se return repl::isSelf(host, ctx); } +bool ReplicationCoordinatorExternalStateImpl::isSelfFastPath(const HostAndPort& host) { + return repl::isSelfFastPath(host); +} + +bool ReplicationCoordinatorExternalStateImpl::isSelfSlowPath(const HostAndPort& host, + ServiceContext* ctx, + Milliseconds timeout) { + return repl::isSelfSlowPath(host, ctx, timeout); +} + HostAndPort ReplicationCoordinatorExternalStateImpl::getClientHostAndPort( const OperationContext* opCtx) { return HostAndPort(opCtx->getClient()->clientAddress(true)); |