Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
2021-11-Tian
Description
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.