Skip to content

[IOTDB-5854] Pipe Tsfile Resource Manager#9805

Merged
SteveYurongSu merged 6 commits intoapache:masterfrom
MiniSho:tsfile
May 13, 2023
Merged

[IOTDB-5854] Pipe Tsfile Resource Manager#9805
SteveYurongSu merged 6 commits intoapache:masterfrom
MiniSho:tsfile

Conversation

@MiniSho
Copy link
Contributor

@MiniSho MiniSho commented May 9, 2023

in this PR :
PipeTsFileHolder provide one interface for increasing tsfile reference counts increaseFileReference(File file, boolean isTsFile) and one interface for decreasing tsfile reference counts decreaseFileReference(File hardlinkOrCopiedFile).

To handle cross-disk issue, each tsfile needs to be hardlink will be stored in pipe folder under the same disk.

In each disk, create pipe directory at the same level with sequence and unsequence directory to manage the hardlink lifecycle of TsFile.

@SteveYurongSu SteveYurongSu self-requested a review May 9, 2023 17:05
@SteveYurongSu SteveYurongSu self-assigned this May 9, 2023
@MiniSho MiniSho marked this pull request as ready for review May 10, 2023 08:10
@MiniSho MiniSho changed the title [IOTDB-5854] Pipe Manage Tsfiles [IOTDB-5854] Pipe Tsfile Resource Manager May 10, 2023
@SteveYurongSu SteveYurongSu merged commit 568aabe into apache:master May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants