diff --git a/etcdserver/server.go b/etcdserver/server.go index 5e1925ce090..5caf6e8ab45 100644 --- a/etcdserver/server.go +++ b/etcdserver/server.go @@ -509,7 +509,7 @@ func NewServer(cfg ServerConfig) (srv *EtcdServer, err error) { } serverID.With(prometheus.Labels{"server_id": id.String()}).Set(1) - srv.applyV2 = &applierV2store{store: srv.v2store, cluster: srv.cluster} + srv.applyV2 = NewApplierV2(cfg.Logger, srv.v2store, srv.cluster) srv.be = be minTTL := time.Duration((3*cfg.ElectionTicks)/2) * heartbeat