fix: remove busy log (#33042)

issue: #32963

Signed-off-by: chyezh <chyezh@outlook.com>
pull/33068/head
chyezh 2024-05-14 14:20:32 +08:00 committed by GitHub
parent 861977ab60
commit 96489b814d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -473,7 +473,6 @@ func (s *LocalSegment) InsertCount() int64 {
func (s *LocalSegment) RowNum() int64 {
// if segment is not loaded, return 0 (maybe not loaded or release by lru)
if !s.ptrLock.RLockIf(state.IsDataLoaded) {
log.Warn("segment is not valid", zap.Int64("segmentID", s.ID()))
return 0
}
defer s.ptrLock.RUnlock()