MCPcopy Create free account
hub / github.com/dolthub/doltgresql / PrimaryDns

Method PrimaryDns

server/logrepl/replication.go:70–72  ·  view source on GitHub ↗

PrimaryDns returns the DNS for the primary database. Not suitable for RPCs used in replication e.g. StartReplication. See ReplicationDns.

()

Source from the content-addressed store, hash-verified

68// PrimaryDns returns the DNS for the primary database. Not suitable for RPCs used in replication e.g.
69// StartReplication. See ReplicationDns.
70func (r *LogicalReplicator) PrimaryDns() string {
71 return r.primaryDns
72}
73
74// ReplicationDns returns the DNS for the primary database with the replication query parameter appended. Not suitable
75// for normal query RPCs.

Callers 2

CaughtUpMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected