Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change safemode threshold to 0.3(#1311) #1312

Merged
merged 1 commit into from
Sep 1, 2017
Merged

Conversation

bluebore
Copy link
Collaborator

No description provided.

@yvxiang
Copy link
Collaborator

yvxiang commented Aug 21, 2017

LGTM

@@ -121,7 +121,7 @@ DEFINE_double(tera_master_load_balance_size_ratio_trigger, 1.2, "ratio of heavie
DEFINE_int32(tera_master_load_balance_ts_load_threshold, 5000, "threshold of one tabletnode in QPS load-balance decision");
DEFINE_int32(tera_master_load_balance_scan_weight, 300, "scan weight in load-balance decision");

DEFINE_double(tera_safemode_tablet_locality_ratio, 0.9, "the tablet locality ratio threshold of safemode");
DEFINE_double(tera_safemode_tablet_locality_ratio, 0.3, "the tablet locality ratio threshold of safemode");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不是所有集群都设置这个值,调低了对之前的监控会失效;
感觉show集群的时候,显示集群进入safemode跟友好一点;

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

github代码会merge回icode么。。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是个默认值,给初学者使用的,所有生产集群都不应直接使用这个值,而是根据实际配置。

@yvxiang yvxiang merged commit 6b4edaf into master Sep 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants