You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Jialin Qiao (Jira)" <ji...@apache.org> on 2021/11/26 07:48:00 UTC
[jira] [Created] (IOTDB-2065) TsFileSequenceReader will be cached for 100s even no longer used
Jialin Qiao created IOTDB-2065:
----------------------------------
Summary: TsFileSequenceReader will be cached for 100s even no longer used
Key: IOTDB-2065
URL: https://issues.apache.org/jira/browse/IOTDB-2065
Project: Apache IoTDB
Issue Type: Bug
Reporter: Jialin Qiao
In FileReaderManager, we cached all opened TsFileSequenceReader and maintain an usage count for each reader.
We register a timed thread (cacheFileReaderClearPeriod=100s) to check if a reader is no longer used.
We could check and release the reader when we decrease its usage count in endQuery.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)