[bugfix](fd) Recycle the segment file fds directly when delete stale rowset (#22705)

This commit is contained in:
Lightman
2023-08-09 14:45:56 +08:00
committed by GitHub
parent 19a2617d70
commit 1d1077c3b6
6 changed files with 8 additions and 6 deletions

View File

@ -87,7 +87,7 @@ Status SegmentLoader::load_segments(const BetaRowsetSharedPtr& rowset,
return Status::OK();
}
void SegmentLoader::erase_segment(const SegmentCache::CacheKey& key) {
void SegmentLoader::erase_segments(const SegmentCache::CacheKey& key) {
_segment_cache->erase(key);
}