baidu / baidu/tera

The safe mode threshold is too high

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

Description

tera_safemode_tablet_locality_ratio默认值是0.9,导致小集群挂一台机器就不能用了。

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the definition and usages of tera_safemode_tablet_locality_ratio, then read the safe-mode logic that applies this threshold during machine failure. Determine an appropriate value or rule for small clusters and verify that losing one machine no longer makes the cluster unusable.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.