Skip to content

Commit 366d451

Browse files
committed
add comment for TiFlash requirements
1 parent 0432708 commit 366d451

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/scale_out_tiflash/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ func getSpecClusterUsing(specifications *GetSpecificationsResp, cluster *GetClus
3838
}
3939

4040
// addTiFlashToCluster add TiFlash to a existing cluster
41+
// If the vCPUs of TiDB or TiKV component is 2 or 4, then the cluster does not support TiFlash.
4142
func addTiFlashToCluster(cluster *GetClusterResp, projectID uint64, spec *Specification) error {
4243
var (
4344
url = fmt.Sprintf("%s/api/v1beta/projects/%d/clusters/%d", Host, projectID, cluster.ID)

0 commit comments

Comments
 (0)