We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb18a18 commit f9ffed9Copy full SHA for f9ffed9
server/core/store_option.go
@@ -191,7 +191,7 @@ func SetStoreStats(stats *pdpb.StoreStats) StoreCreateOption {
191
func SetNewStoreStats(stats *pdpb.StoreStats) StoreCreateOption {
192
return func(store *StoreInfo) {
193
// 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.
+ // And range cluster cannot use HMA because the last value is not cached
195
store.storeStats = &storeStats{
196
rawStats: stats,
197
}
0 commit comments