keyspace: unexpect dead code in saveKeyspaceGroups
#6587
Labels
type/enhancement
The issue or PR belongs to an enhancement.
saveKeyspaceGroups
#6587
Enhancement Task
pd/pkg/keyspace/tso_keyspace_group.go
Lines 321 to 353 in 181e613
when
oldKG.IsSplitting()
is true, it meansoldKG != nil
is also true, soErrKeyspaceGroupExists
ErrKeyspaceGroupInSplit
so we cannot touch
pd/pkg/keyspace/tso_keyspace_group.go
Lines 341 to 345 in 181e613
The text was updated successfully, but these errors were encountered: