tsdb/retention: remove s3 evict cache hook
This commit is contained in:
parent
8c6f452f09
commit
4fede02da4
|
@ -342,6 +342,7 @@ static int32_t tsdbDoRetention2(void *arg) {
|
||||||
code = tsdbMigrateDataFileS3(rtner, fobj, &did);
|
code = tsdbMigrateDataFileS3(rtner, fobj, &did);
|
||||||
TSDB_CHECK_CODE(code, lino, _exit);
|
TSDB_CHECK_CODE(code, lino, _exit);
|
||||||
} else {
|
} else {
|
||||||
|
/*
|
||||||
if (tsS3Enabled) {
|
if (tsS3Enabled) {
|
||||||
int64_t fsize = 0;
|
int64_t fsize = 0;
|
||||||
if (taosStatFile(fobj->fname, &fsize, NULL, NULL) < 0) {
|
if (taosStatFile(fobj->fname, &fsize, NULL, NULL) < 0) {
|
||||||
|
@ -352,7 +353,7 @@ static int32_t tsdbDoRetention2(void *arg) {
|
||||||
}
|
}
|
||||||
s3EvictCache(fobj->fname, fsize * 2);
|
s3EvictCache(fobj->fname, fsize * 2);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
code = tsdbDoMigrateFileObj(rtner, fobj, &did);
|
code = tsdbDoMigrateFileObj(rtner, fobj, &did);
|
||||||
TSDB_CHECK_CODE(code, lino, _exit);
|
TSDB_CHECK_CODE(code, lino, _exit);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue