File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
mcs/scheduling/server/affinity Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ import (
3939// - Value: affinity.Group
4040//
4141// regionLabelPathPrefix:
42- // - Key:
42+ // - Key: /pd/{cluster_id}/region_label/{rule_id}/affinity_group/"
4343// - Value: labeler.LabelRule
4444// - Filtered to only process rules with ID prefix "affinity_group/"
4545type Watcher struct {
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ type Manager struct {
7777 keyRanges map [string ]GroupKeyRanges // {group_id} -> key ranges
7878 // labelRuleBuffer is a buffer used during etcd synchronization.
7979 // When synchronizing via etcd, LabelRule information may arrive earlier than group information.
80- labelRuleBuffer map [string ]* labeler.LabelRule
80+ labelRuleBuffer map [string ]* labeler.LabelRule // {group_id} -> labelRule
8181}
8282
8383// NewManager creates a new affinity Manager.
You can’t perform that action at this time.
0 commit comments