-
Notifications
You must be signed in to change notification settings - Fork 1.2k
tiup: add offline update tiup #3540
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
Conversation
There was a problem hiding this 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
是有点 off topic,是怎么行文比较好呢? |
这段的意思是,在使用 tiup 离线部署 tidb 的情况下,如果要升级本地集群,必须要先更新本地 tiup 镜像对吗?如果是这样的话,这一段放到升级文档里怎么样? 我觉得可以在升级文档的「升级兼容性说明」后面加上一段,让用户先判断自己的集群是离线部署还是在线部署的。如果是离线部署,就先阅读这个 PR 里的这段内容;如果是在线部署,就直接跳过这段内容往下读。 这样可以不? @lichunzhu |
kissmydb
left a comment
There was a problem hiding this 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】并列的离线升级的文档,把新增的内容挪过去。
…iUPOfflineUpdate
yikeke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
我再加个刚刚看到的小bug |
好了 |
TOC.md
Outdated
| + 运维操作 | ||
| + 升级 TiDB 版本 | ||
| + [使用 TiUP(推荐)](/upgrade-tidb-using-tiup.md) | ||
| + [使用 TiUP 离线镜像(推荐)](/upgrade-tidb-using-tiup-offline.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| + [使用 TiUP 离线镜像(推荐)](/upgrade-tidb-using-tiup-offline.md) | |
| + [使用 TiUP 离线升级(推荐)](/upgrade-tidb-using-tiup-offline.md) |
Co-authored-by: kissmydb <likun@pingcap.com>
kissmydb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
/merge |
|
/run-all-tests |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
|
cherry pick to release-4.0 in PR #3557 |
Signed-off-by: sre-bot <sre-bot@pingcap.com> Co-authored-by: Chunzhu Li <lichunzhu@stu.xjtu.edu.cn>
What is changed, added or deleted? (Required)
Update how to update offline tiup mirror.
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?