baidu / baidu/tera

row lock

Open
#901 0 comments 0 reactions 0 assignees View on GitHub
class/newfeature module/ts stat/will-see-later
Dominant language
C++
Stars
1.9k
Forks
432
PR merge metrics
No merged PRs in 30d

Description

1. 阻塞写,不阻塞读
2. 持久化,随tablet迁移
3. 随用户数据写入和读出,不产生额外的IO请求

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by locating the tablet migration and user-data read/write paths, then trace how row-level locking could be persisted with each row without extra I/O. Done means writes are blocked while reads continue, locks survive tablet migration, and lock metadata is read and written with user data.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.