Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-2065

TsFileSequenceReader will be cached for 100s even no longer used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.4
    • 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.

      Attachments

        Activity

          People

            xiangweiwei Alima777
            qiaojialin Jialin Qiao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: