Skip to content

Commit

Permalink
tidb: set tidb support set label min version to v6.3.0 (#4724)
Browse files Browse the repository at this point in the history
  • Loading branch information
glorv authored Sep 26, 2022
1 parent 24554a9 commit 5e8dfff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/manager/member/tidb_member_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ func (m *tidbMemberManager) syncTidbClusterStatus(tc *v1alpha1.TidbCluster, set
return nil
}

const tidbSupportLabelsMinVersin = "6.2.0"
const tidbSupportLabelsMinVersin = "6.3.0"

func (m *tidbMemberManager) setServerLabels(tc *v1alpha1.TidbCluster) (int, error) {
tidbVersion := tc.TiDBVersion()
Expand Down
2 changes: 1 addition & 1 deletion pkg/manager/member/tidb_member_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2770,7 +2770,7 @@ func TestTiDBMemberManagerSetServerLabels(t *testing.T) {
},
{
name: "skip old version tidb",
tidbVersion: "v6.1.0",
tidbVersion: "v6.2.9",
members: []Member{
{
node: "node-1",
Expand Down

0 comments on commit 5e8dfff

Please sign in to comment.