*: Modify placement rule index to reserve some indexes for future work (#30737)
This commit is contained in:
@ -31,16 +31,10 @@ func GroupID(id int64) string {
|
||||
}
|
||||
|
||||
const (
|
||||
// RuleIndexDefault is the default index for a rule, check Rule.Index.
|
||||
RuleIndexDefault int = iota
|
||||
// RuleIndexDatabase is the index for a rule of database.
|
||||
RuleIndexDatabase
|
||||
// RuleIndexTable is the index for a rule of table.
|
||||
RuleIndexTable
|
||||
RuleIndexTable = 40
|
||||
// RuleIndexPartition is the index for a rule of partition.
|
||||
RuleIndexPartition
|
||||
// RuleIndexIndex is the index for a rule of index.
|
||||
RuleIndexIndex
|
||||
RuleIndexPartition = 80
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user