Delete the data file if it has no valid data
Open
Easy-Fixed
Module - Storage Engine
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
Currently, when we execute "delete from root.sg.* where time < T", we write modifications besides the deleted TsFile.
It's better to delete the file that does not have valid data.
Contributor guide
Research direction
Start by tracing how `delete from root.sg.* where time < T` handles the affected TsFile and writes modifications. Determine how the system identifies that a file has no valid data, then verify that such a file is deleted rather than retained with modification records.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100