From 2d9e1b9a6ffa1e30a4b4cd1de085003c7002fbe4 Mon Sep 17 00:00:00 2001 From: funkye Date: Fri, 24 May 2024 17:18:22 +0800 Subject: [PATCH] optimize: registry.conf supplemented raft configuration (#6578) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + script/client/conf/registry.conf | 7 +++++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 0fc60029824..6e14f34cc8c 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -142,6 +142,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6549](https://github.com/apache/incubator-seata/pull/6549)] macos workflow support arm testing - [[#6558](https://github.com/apache/incubator-seata/pull/6558)] remove mysql-connector-java from pom.xml - [[#6570](https://github.com/apache/incubator-seata/pull/6570)] add notice file to binary +- [[#6578](https://github.com/apache/incubator-seata/pull/6578)] registry.conf supplemented raft configuration - [[#6576](https://github.com/apache/incubator-seata/pull/6576)] remove oracle datatype parser ### security: diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index d88c572ca65..f5d14672128 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -141,6 +141,7 @@ - [[#6549](https://github.com/apache/incubator-seata/pull/6549)] 支持macos arm架构单测 - [[#6558](https://github.com/apache/incubator-seata/pull/6558)] 移除 mysql-connector-java 依赖 - [[#6570](https://github.com/apache/incubator-seata/pull/6570)] 添加 notice 文件 +- [[#6578](https://github.com/apache/incubator-seata/pull/6578)] registry.conf 补充raft配置 - [[#6576](https://github.com/apache/incubator-seata/pull/6576)] 移除 oracle 数据类型序列化扩展 ### security: diff --git a/script/client/conf/registry.conf b/script/client/conf/registry.conf index 7bfb4c02b11..4a5329b4881 100644 --- a/script/client/conf/registry.conf +++ b/script/client/conf/registry.conf @@ -87,8 +87,11 @@ config { # file、nacos 、apollo、zk、consul、etcd3、springCloudConfig、custom type = "file" raft { - metadata-max-age-ms = 30000 - serverAddr = "127.0.0.1:8848" + metadataAaxAgeMs = 30000 + serverAddr = "127.0.0.1:7091" + username= "seata" + password= "seata" + tokenValidityInMilliseconds= "1740000" } nacos { serverAddr = "127.0.0.1:8848"