The data in PageStorage can not get fully GC after dropping partition table
Open
Nobody has claimed this yet.
component/storage
severity/moderate
type/bug
- Dominant language
- C++
- Stars
- 1k
- Forks
- 423
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 24
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
test case name: htap_ch_hash_partition_drop_table_gc
2. What did you expect to see? (Required)
3. What did you see instead (Required)
There are a few pages remain not deleted.
4. What is your TiFlash version? (Required)
master
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the named test case, htap_ch_hash_partition_drop_table_gc, and compare its PageStorage state before and after the partition table is dropped. Trace the PageStorage garbage-collection behavior relevant to the remaining pages; done means the dropped table's pages are fully deleted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100