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

tools: update pd-control.md #802

Merged
merged 2 commits into from
Jul 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export PD_ADDR=http://127.0.0.1:2379
"high-space-ratio": 0.6,
"disable-raft-learner": "false",
"disable-remove-down-replica": "false",
"disable-make-up-offline-replica": "false",
"disable-replace-offline-replica": "false",
"disable-make-up-replica": "false",
"disable-remove-extra-replica": "false",
"disable-location-replacement": "false",
Expand Down Expand Up @@ -258,7 +258,7 @@ config set disable-raft-learner true // 关闭 raft learner 功能
`disable-remove-down-replica` 用于关闭自动删除 DownReplica 的特性。
当设置为 true 时,PD 不会自动清理宕机状态的副本。

`disable-make-up-offline-replica` 用于关闭迁移 OfflineReplica 的特性。
`disable-replace-offline-replica` 用于关闭迁移 OfflineReplica 的特性。
Copy link
Member

Choose a reason for hiding this comment

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

In line 112, it is "disable-make-up-offline-replica". I think that line also needs to be updated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh I missed it.

当设置为 true 时,PD 不会迁移下线状态的副本。

`disable-make-up-replica` 用于关闭补充副本的特性。
Expand Down