Skip to content

Conversation

@lichunzhu
Copy link
Contributor

What is changed, added or deleted? (Required)

Update how to update offline tiup mirror.

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

@lichunzhu lichunzhu requested review from lonng, lucklove and yikeke June 6, 2020 05:55
Copy link
Contributor

@yikeke yikeke left a comment

Choose a reason for hiding this comment

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

不过感觉这个第 6 步不应该是离线部署 TiDB 集群的步骤?(在第 5 步已经部署结束了)而是维护/升级本地集群的方式?放这是不是有点 off topic 呢 @lonng @lichunzhu

@yikeke yikeke added needs-cherry-pick-4.0 translation/doing This PR’s assignee is translating this PR. labels Jun 7, 2020
@lichunzhu
Copy link
Contributor Author

不过感觉这个第 6 步不应该是离线部署 TiDB 集群的步骤?(在第 5 步已经部署结束了)而是维护/升级本地集群的方式?放这是不是有点 off topic 呢 @lonng @lichunzhu

是有点 off topic,是怎么行文比较好呢?

@yikeke
Copy link
Contributor

yikeke commented Jun 8, 2020

不过感觉这个第 6 步不应该是离线部署 TiDB 集群的步骤?(在第 5 步已经部署结束了)而是维护/升级本地集群的方式?放这是不是有点 off topic 呢 @lonng @lichunzhu

是有点 off topic,是怎么行文比较好呢?

这段的意思是,在使用 tiup 离线部署 tidb 的情况下,如果要升级本地集群,必须要先更新本地 tiup 镜像对吗?如果是这样的话,这一段放到升级文档里怎么样?

我觉得可以在升级文档的「升级兼容性说明」后面加上一段,让用户先判断自己的集群是离线部署还是在线部署的。如果是离线部署,就先阅读这个 PR 里的这段内容;如果是在线部署,就直接跳过这段内容往下读。

这样可以不? @lichunzhu

@yikeke yikeke requested a review from kissmydb June 8, 2020 03:51
Copy link
Contributor

@kissmydb kissmydb left a comment

Choose a reason for hiding this comment

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

内容本身没有问题,但位置需要调整一下。这篇文档是离线部署,而内容是升级相关。建议新建一个和【upgrade-tidb-using-tiup】并列的离线升级的文档,把新增的内容挪过去。

Copy link
Contributor

@yikeke yikeke left a comment

Choose a reason for hiding this comment

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

LGTM

@lichunzhu
Copy link
Contributor Author

我再加个刚刚看到的小bug

@lichunzhu
Copy link
Contributor Author

我再加个刚刚看到的小bug

好了

TOC.md Outdated
+ 运维操作
+ 升级 TiDB 版本
+ [使用 TiUP(推荐)](/upgrade-tidb-using-tiup.md)
+ [使用 TiUP 离线镜像(推荐)](/upgrade-tidb-using-tiup-offline.md)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
+ [使用 TiUP 离线镜像(推荐)](/upgrade-tidb-using-tiup-offline.md)
+ [使用 TiUP 离线升级(推荐)](/upgrade-tidb-using-tiup-offline.md)

lichunzhu and others added 2 commits June 8, 2020 14:21
Co-authored-by: kissmydb <likun@pingcap.com>
Copy link
Contributor

@kissmydb kissmydb left a comment

Choose a reason for hiding this comment

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

LGTM

@yikeke
Copy link
Contributor

yikeke commented Jun 8, 2020

/merge

@sre-bot sre-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jun 8, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Jun 8, 2020

/run-all-tests

@sre-bot sre-bot merged commit 32349a6 into pingcap:master Jun 8, 2020
sre-bot pushed a commit to sre-bot/docs-cn that referenced this pull request Jun 8, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Jun 8, 2020

cherry pick to release-4.0 in PR #3557

@lichunzhu lichunzhu deleted the addTiUPOfflineUpdate branch June 8, 2020 06:29
yikeke pushed a commit that referenced this pull request Jun 8, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>

Co-authored-by: Chunzhu Li <lichunzhu@stu.xjtu.edu.cn>
@yikeke yikeke self-assigned this Jun 8, 2020
@yikeke yikeke removed their assignment Jun 10, 2020
@ran-huang ran-huang changed the title tiup/: add offline update tiup tiup: add offline update tiup Jun 10, 2020
@ran-huang ran-huang added translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed translation/doing This PR’s assignee is translating this PR. labels Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/can-merge Indicates a PR has been approved by a committer. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants