diff --git a/internal/proxy/meta_cache.go b/internal/proxy/meta_cache.go index ae8367640c..59e0edc256 100644 --- a/internal/proxy/meta_cache.go +++ b/internal/proxy/meta_cache.go @@ -651,7 +651,7 @@ func (m *MetaCache) GetShards(ctx context.Context, withCache bool, collectionNam if shardLeaders != nil { metrics.ProxyCacheStatsCounter.WithLabelValues(strconv.FormatInt(Params.ProxyCfg.GetNodeID(), 10), method, metrics.CacheHitLabel).Inc() - iterator := info.shardLeaders.GetReader() + iterator := shardLeaders.GetReader() return iterator.Shuffle(), nil }