Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate PageFile make TiFlash can not GC delta data #2169

Closed
JaySon-Huang opened this issue Jun 16, 2021 · 0 comments · Fixed by #2170
Closed

Duplicate PageFile make TiFlash can not GC delta data #2169

JaySon-Huang opened this issue Jun 16, 2021 · 0 comments · Fixed by #2170
Assignees
Labels
severity/major type/bug The issue is confirmed as a bug.

Comments

@JaySon-Huang
Copy link
Contributor

JaySon-Huang commented Jun 16, 2021

We found that there is a chance that page_3808_1 and legacy.page_3808_1 exist at the same time and make trouble for GCing DeltaTree's delta data.

248K	data/t_131/log/legacy.page_3808_1
378M	data/t_131/log/page_3808_1

It will make the GC thread throw "Directory not empty" like this

2021.06.11 12:48:19.919511 [ 5 ] <Error> void DB::BackgroundProcessingPool::threadFunction(): Poco::Exception. Code: 1000, e.code() = 39, e.displayText() = Directory not empty: /data1/tidb-data/tiflash-9000/data/t_131/log/page_3808_1, e.what() = Directory not empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants