tsdb/retention: remove s3 evict cache hook

This commit is contained in:
Minglei Jin 2023-10-30 10:06:42 +08:00
parent 8c6f452f09
commit 4fede02da4
1 changed files with 2 additions and 1 deletions

View File

@ -342,6 +342,7 @@ static int32_t tsdbDoRetention2(void *arg) {
code = tsdbMigrateDataFileS3(rtner, fobj, &did);
TSDB_CHECK_CODE(code, lino, _exit);
} else {
/*
if (tsS3Enabled) {
int64_t fsize = 0;
if (taosStatFile(fobj->fname, &fsize, NULL, NULL) < 0) {
@ -352,7 +353,7 @@ static int32_t tsdbDoRetention2(void *arg) {
}
s3EvictCache(fobj->fname, fsize * 2);
}
*/
code = tsdbDoMigrateFileObj(rtner, fobj, &did);
TSDB_CHECK_CODE(code, lino, _exit);
}