diff --git a/internal/querynode/shard_cluster.go b/internal/querynode/shard_cluster.go index d91998a19a..2d0432fab3 100644 --- a/internal/querynode/shard_cluster.go +++ b/internal/querynode/shard_cluster.go @@ -1087,7 +1087,5 @@ func (sc *ShardCluster) GetSegmentInfos() []shardSegmentInfo { } func (sc *ShardCluster) getVersion() int64 { - sc.mutVersion.RLock() - defer sc.mutVersion.RUnlock() return sc.version }