This is an automated email from the ASF dual-hosted git repository.

jianbin pushed a commit to branch docusaurus
in repository https://gitbox.apache.org/repos/asf/incubator-seata-website.git


The following commit(s) were added to refs/heads/docusaurus by this push:
     new 99e0c0da92 Update upgrade.md (#860)
99e0c0da92 is described below

commit 99e0c0da92b1f5f9d701f7fb5fcf986308738afc
Author: ggbocoder <[email protected]>
AuthorDate: Wed May 29 14:58:18 2024 +0800

    Update upgrade.md (#860)
---
 i18n/zh-cn/docusaurus-plugin-content-docs/current/ops/upgrade.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/current/ops/upgrade.md 
b/i18n/zh-cn/docusaurus-plugin-content-docs/current/ops/upgrade.md
index 46b4abe942..17ab5eabd0 100644
--- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/ops/upgrade.md
+++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/ops/upgrade.md
@@ -40,6 +40,7 @@ description: Seata upgrade.
   <summary><mark>注意事项</mark></summary>
   
   1. 使用seata2.0 raft 
存储模式后,升级2.1需要登录后获取token,携带token请求/metadata/v1/cluster?group=在application.yml中的seata.server.raft.group的值,查询到集群元数据后。将follower节点先行升级,再升级leader节点。注:该升级完成后,raft存储模式下是不允许降级至2.0,请在线下环境得到充分验证后再进行生产环境升级。
+  2. 用户在升级到seata2.1时需要配置seata raft的鉴权信息,首先在seata 
server端的`ignore.url`中增加`/metadata/v1/**`用以暂时关闭鉴权功能,然后在seata 
client端`application.yaml`或`registry.conf`中的`seata.registry.raft`中配置好`username`和`password`以及`tokenValidityInMilliseconds`(需要注意的是client端的username和password应当与server端所配置的保持一致,client端的tokenValidityInMilliseconds应当略小于你在server端配置的tokenValidityInMilliseconds),最后在server端移除`ignore.url`中的`/metadata/v1/**`用以开启raft元数据鉴权能力。
 </details>
 
 ------
@@ -161,4 +162,4 @@ autoconfig 功能由其本身支持,在其后去掉 spring-cloud-alibaba-seata
 
 </details>   
 
-********
\ No newline at end of file
+********


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to