From c72cb85bab453caefa9ead8043160993df38d2f4 Mon Sep 17 00:00:00 2001 From: hzwuhongsong Date: Wed, 18 Oct 2023 18:31:39 +0800 Subject: [PATCH] fix diskcache lru bug --- curvefs/src/client/s3/disk_cache_write.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/curvefs/src/client/s3/disk_cache_write.cpp b/curvefs/src/client/s3/disk_cache_write.cpp index 149ea65fff..ac264cbd14 100644 --- a/curvefs/src/client/s3/disk_cache_write.cpp +++ b/curvefs/src/client/s3/disk_cache_write.cpp @@ -443,7 +443,6 @@ int DiskCacheWrite::RemoveFile(const std::string fileName) { << ", errno = " << errno; return -1; } - cachedObjName_->MoveBack(fileName); VLOG(9) << "remove file success, file = " << fileName; return 0; }