Skip to content

Commit f9ffed9

Browse files
committed
add comment
Signed-off-by: lhy1024 <admin@liudos.us>
1 parent bb18a18 commit f9ffed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/core/store_option.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func SetStoreStats(stats *pdpb.StoreStats) StoreCreateOption {
191191
func SetNewStoreStats(stats *pdpb.StoreStats) StoreCreateOption {
192192
return func(store *StoreInfo) {
193193
// There is no clone in default store stats, we create new one to avoid to modify others.
194-
// And range cluster doesn't need HMA.
194+
// And range cluster cannot use HMA because the last value is not cached
195195
store.storeStats = &storeStats{
196196
rawStats: stats,
197197
}

0 commit comments

Comments
 (0)