2019-10-27 05:53:25 +00:00
|
|
|
// +build !dqlite
|
|
|
|
|
|
|
|
package cluster
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
"net"
|
|
|
|
"net/http"
|
|
|
|
)
|
|
|
|
|
2019-10-31 02:05:40 +00:00
|
|
|
func (c *Cluster) testClusterDB(ctx context.Context) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-10-27 05:53:25 +00:00
|
|
|
func (c *Cluster) initClusterDB(ctx context.Context, l net.Listener, handler http.Handler) (net.Listener, http.Handler, error) {
|
|
|
|
return l, handler, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *Cluster) postJoin(ctx context.Context) error {
|
|
|
|
return nil
|
|
|
|
}
|
2019-11-11 22:18:26 +00:00
|
|
|
|
|
|
|
func (c *Cluster) dqliteEnabled() bool {
|
|
|
|
return false
|
|
|
|
}
|