Skip to content

[IOTDB-6260] Pipe: Wait for the hardlink/copied tsfile to finish being transfered before deleting#11637

Closed
MiniSho wants to merge 1 commit intoapache:masterfrom
MiniSho:IOTDB-6260
Closed

[IOTDB-6260] Pipe: Wait for the hardlink/copied tsfile to finish being transfered before deleting#11637
MiniSho wants to merge 1 commit intoapache:masterfrom
MiniSho:IOTDB-6260

Conversation

@MiniSho
Copy link
Contributor

@MiniSho MiniSho commented Nov 29, 2023

Description

When dropping the pipe, if there is a tsfile being reading or transfering, it will throw an error by calling Pipe Plugin‘s close() method and the file will not be unpinned.

so we add a check before deleting the tsfile, wait until the hardlink/copied file has been transfered.

image

@SteveYurongSu SteveYurongSu self-assigned this Nov 29, 2023
@SteveYurongSu
Copy link
Member

Thanks for your contribution.

NO NEED TO FIX: the issue is already fixed by PR #11240

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