primary/secondary database mode #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://pkg.go.dev/golang.yandex/hasql#Cluster.StandbyPreferred
NewCluster(discoverer , checker, opts...ClusterOption) (*Cluster, error)
discoverer contains db ...*sql.DB with names
checker have query for latency (some query to measure it timing), query for master/slave, query for ReplicationLag