Skip to content

Commit

Permalink
Fix the issue that loss numa_node when generating PD config
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyacat committed Sep 26, 2021
1 parent 55581f2 commit 6405c97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cluster/spec/pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)...).
Expand Down

0 comments on commit 6405c97

Please sign in to comment.