baidu / baidu/tera

gc the out-of-date data as fast as possible

Open
#880 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.9k
Forks
432
PR merge metrics
No merged PRs in 30d

Description

有这么一个场景:对于某个2G的数据分片(tablet),用户狂删一通(例如行删除),并没有多少真正的gc操作,存在大量垃圾,再去scan时过了大量的垃圾导致用户可见的scan速率非常慢。有效数据只有5%~20%.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, entry point, or test is named. Start by tracing tablet scan behavior and garbage-collection handling for delete-heavy data, then establish how stale data should be reclaimed and how scan performance will demonstrate that the issue is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.