baidu / baidu/tera

ttl's data could not be deleted after timeout, in sequence write mode

Open
#533 0 comments 0 reactions 0 assignees View on GitHub
class/enhancement
Dominant language
C++
Stars
1.9k
Forks
432
PR merge metrics
No merged PRs in 30d

Description

顺序写的方式下由于leveldb的sst文件区间没有交叠,所以执行compact操作不会触发tll的删除逻辑;导致设置ttl的数据删除不掉;

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named in the issue. Start by tracing TTL deletion through sequential-write compaction and compare it with the overlapping-SST path. Done means expired TTL data is deleted in sequential write mode, with a regression test covering the case.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.