From 6405c97f3875f515797767d219cf632f5dbd9444 Mon Sep 17 00:00:00 2001 From: zhehuang Date: Sun, 26 Sep 2021 14:53:22 +0800 Subject: [PATCH] Fix the issue that loss numa_node when generating PD config --- pkg/cluster/spec/pd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cluster/spec/pd.go b/pkg/cluster/spec/pd.go index 84a6c74800..d5e14bb367 100644 --- a/pkg/cluster/spec/pd.go +++ b/pkg/cluster/spec/pd.go @@ -174,6 +174,7 @@ func (i *PDInstance) InitConfig( spec := i.InstanceSpec.(*PDSpec) cfg := scripts. NewPDScript(spec.Name, i.GetHost(), paths.Deploy, paths.Data[0], paths.Log). + WithNumaNode(spec.NumaNode). WithClientPort(spec.ClientPort). WithPeerPort(spec.PeerPort). AppendEndpoints(topo.Endpoints(deployUser)...).