From 9f6ac2801cbf752ebd1e1df20d93ae2fff5b7a01 Mon Sep 17 00:00:00 2001 From: xingfudeshi Date: Thu, 5 Jan 2023 17:30:21 +0800 Subject: [PATCH 1/8] fix #5230 --- .../java/io/seata/common/DefaultValues.java | 4 +- .../ConsistentHashLoadBalance.java | 6 +- .../config/ConfigurationFactoryTest.java | 6 +- .../src/test/resources/file.conf | 4 +- .../autoconfigure/ClientPropertiesTest.java | 3 + .../client/LoadBalancePropertiesTest.java | 70 +++++++++++++++++++ 6 files changed, 83 insertions(+), 10 deletions(-) create mode 100644 seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java diff --git a/common/src/main/java/io/seata/common/DefaultValues.java b/common/src/main/java/io/seata/common/DefaultValues.java index 8ab3777d72e..acf8ef2b3f3 100644 --- a/common/src/main/java/io/seata/common/DefaultValues.java +++ b/common/src/main/java/io/seata/common/DefaultValues.java @@ -114,7 +114,7 @@ public interface DefaultValues { boolean DEFAULT_SERVER_ENABLE_CHECK_AUTH = true; - String DEFAULT_LOAD_BALANCE = "XID"; + String DEFAULT_LOAD_BALANCE = "RandomLoadBalance"; int VIRTUAL_NODES_DEFAULT = 10; /** @@ -141,7 +141,7 @@ public interface DefaultValues { * the constant TM_INTERCEPTOR_ORDER */ int TM_INTERCEPTOR_ORDER = Integer.MIN_VALUE + 1000; - + /** * the constant TCC_ACTION_INTERCEPTOR_ORDER */ diff --git a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java index 25aed09918a..421b57d3487 100644 --- a/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java +++ b/discovery/seata-discovery-core/src/main/java/io/seata/discovery/loadbalance/ConsistentHashLoadBalance.java @@ -37,13 +37,13 @@ public class ConsistentHashLoadBalance implements LoadBalance { /** - * The constant LOAD_BALANCE_CONSISTENT_HASH_VISUAL_NODES. + * The constant LOAD_BALANCE_CONSISTENT_HASH_VIRTUAL_NODES. */ - public static final String LOAD_BALANCE_CONSISTENT_HASH_VISUAL_NODES = LOAD_BALANCE_PREFIX + "visualNodes"; + public static final String LOAD_BALANCE_CONSISTENT_HASH_VIRTUAL_NODES = LOAD_BALANCE_PREFIX + "virtualNodes"; /** * The constant VIRTUAL_NODES_NUM. */ - private static final int VIRTUAL_NODES_NUM = ConfigurationFactory.getInstance().getInt(LOAD_BALANCE_CONSISTENT_HASH_VISUAL_NODES, VIRTUAL_NODES_DEFAULT); + private static final int VIRTUAL_NODES_NUM = ConfigurationFactory.getInstance().getInt(LOAD_BALANCE_CONSISTENT_HASH_VIRTUAL_NODES, VIRTUAL_NODES_DEFAULT); @Override public T select(List invokers, String xid) { diff --git a/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java b/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java index 2e26179202f..726374fb8f2 100644 --- a/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java +++ b/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java @@ -37,9 +37,9 @@ void getInstance() { void getLoadBalance() { Configuration configuration = ConfigurationFactory.getInstance(); String loadBalanceType = configuration.getConfig(LoadBalanceFactory.LOAD_BALANCE_TYPE); - int visualNode = configuration.getInt(ConsistentHashLoadBalance.LOAD_BALANCE_CONSISTENT_HASH_VISUAL_NODES); + int virtualNode = configuration.getInt(ConsistentHashLoadBalance.LOAD_BALANCE_CONSISTENT_HASH_VIRTUAL_NODES); Assertions.assertEquals("RandomLoadBalance", loadBalanceType); - Assertions.assertEquals(10,visualNode); + Assertions.assertEquals(10,virtualNode); } -} \ No newline at end of file +} diff --git a/discovery/seata-discovery-core/src/test/resources/file.conf b/discovery/seata-discovery-core/src/test/resources/file.conf index 12e134002ba..3a648af21a0 100644 --- a/discovery/seata-discovery-core/src/test/resources/file.conf +++ b/discovery/seata-discovery-core/src/test/resources/file.conf @@ -18,6 +18,6 @@ client { loadBalance { type = "RandomLoadBalance" - visualNodes = 10 + virtualNodes = 10 } -} \ No newline at end of file +} diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java index ceeb90f6d66..f0cc5261b8a 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java @@ -110,6 +110,9 @@ public void testUndoProperties() { public void testLoadBalanceProperties() { assertEquals("XID", context.getBean(LoadBalanceProperties.class).getType()); assertEquals(10, context.getBean(LoadBalanceProperties.class).getVirtualNodes()); + + + } diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java new file mode 100644 index 00000000000..a427af72ae9 --- /dev/null +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/properties/client/LoadBalancePropertiesTest.java @@ -0,0 +1,70 @@ +/* + * Copyright 1999-2019 Seata.io Group. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.seata.spring.boot.autoconfigure.properties.client; + +import io.seata.common.loader.EnhancedServiceLoader; +import io.seata.config.Configuration; +import io.seata.config.ExtConfigurationProvider; +import io.seata.config.FileConfiguration; +import io.seata.config.springcloud.SpringApplicationContextProvider; +import org.junit.jupiter.api.AfterAll; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Test; +import org.springframework.context.annotation.AnnotationConfigApplicationContext; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Import; + +import static io.seata.spring.boot.autoconfigure.StarterConstants.LOAD_BALANCE_PREFIX; +import static io.seata.spring.boot.autoconfigure.StarterConstants.PROPERTY_BEAN_MAP; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.mockito.Mockito.mock; + +/** + * @author xingfudeshi@gmail.com + **/ +@Import(SpringApplicationContextProvider.class) +@org.springframework.context.annotation.Configuration +public class LoadBalancePropertiesTest { + private static AnnotationConfigApplicationContext applicationContext; + + @BeforeAll + public static void initContext() { + applicationContext = new AnnotationConfigApplicationContext(LoadBalancePropertiesTest.class); + } + + @Bean + LoadBalanceProperties loadBalanceProperties() { + LoadBalanceProperties loadBalanceProperties = new LoadBalanceProperties(); + PROPERTY_BEAN_MAP.put(LOAD_BALANCE_PREFIX, LoadBalanceProperties.class); + return loadBalanceProperties; + } + + @Test + public void testLoadBalanceProperties() { + FileConfiguration configuration = mock(FileConfiguration.class); + Configuration currentConfiguration = + EnhancedServiceLoader.load(ExtConfigurationProvider.class).provide(configuration); + System.setProperty("seata.client.loadBalance.virtualNodes", "30"); + assertEquals(30, currentConfiguration.getInt("client.loadBalance.virtualNodes")); + System.setProperty("seata.client.loadBalance.type", "test"); + assertEquals("test", currentConfiguration.getConfig("client.loadBalance.type")); + } + + @AfterAll + public static void closeContext() { + applicationContext.close(); + } +} From 05d90b92651c973143918cad47188ba551e2d35d Mon Sep 17 00:00:00 2001 From: xingfudeshi Date: Thu, 5 Jan 2023 17:33:54 +0800 Subject: [PATCH 2/8] code clean up --- .../spring/boot/autoconfigure/ClientPropertiesTest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java index f0cc5261b8a..158196956cc 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java @@ -108,11 +108,8 @@ public void testUndoProperties() { @Test public void testLoadBalanceProperties() { - assertEquals("XID", context.getBean(LoadBalanceProperties.class).getType()); + assertEquals("RandomLoadBalance", context.getBean(LoadBalanceProperties.class).getType()); assertEquals(10, context.getBean(LoadBalanceProperties.class).getVirtualNodes()); - - - } From 5e56e10f820642b568fca0d9541e7b6655702e3a Mon Sep 17 00:00:00 2001 From: xingfudeshi Date: Fri, 6 Jan 2023 09:38:34 +0800 Subject: [PATCH 3/8] unify default load-balance policy --- common/src/main/java/io/seata/common/DefaultValues.java | 2 +- .../java/io/seata/config/ConfigurationFactoryTest.java | 2 +- .../seata-discovery-core/src/test/resources/file.conf | 2 +- script/client/conf/file.conf | 4 ++-- script/client/spring/application.properties | 2 +- script/client/spring/application.yml | 2 +- .../additional-spring-configuration-metadata.json | 8 ++++---- .../spring/boot/autoconfigure/ClientPropertiesTest.java | 2 +- test/src/test/resources/file.conf | 4 ++-- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/common/src/main/java/io/seata/common/DefaultValues.java b/common/src/main/java/io/seata/common/DefaultValues.java index acf8ef2b3f3..a2086b27587 100644 --- a/common/src/main/java/io/seata/common/DefaultValues.java +++ b/common/src/main/java/io/seata/common/DefaultValues.java @@ -114,7 +114,7 @@ public interface DefaultValues { boolean DEFAULT_SERVER_ENABLE_CHECK_AUTH = true; - String DEFAULT_LOAD_BALANCE = "RandomLoadBalance"; + String DEFAULT_LOAD_BALANCE = "XID"; int VIRTUAL_NODES_DEFAULT = 10; /** diff --git a/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java b/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java index 726374fb8f2..7b45ac9fac0 100644 --- a/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java +++ b/discovery/seata-discovery-core/src/test/java/io/seata/config/ConfigurationFactoryTest.java @@ -38,7 +38,7 @@ void getLoadBalance() { Configuration configuration = ConfigurationFactory.getInstance(); String loadBalanceType = configuration.getConfig(LoadBalanceFactory.LOAD_BALANCE_TYPE); int virtualNode = configuration.getInt(ConsistentHashLoadBalance.LOAD_BALANCE_CONSISTENT_HASH_VIRTUAL_NODES); - Assertions.assertEquals("RandomLoadBalance", loadBalanceType); + Assertions.assertEquals("XID", loadBalanceType); Assertions.assertEquals(10,virtualNode); } diff --git a/discovery/seata-discovery-core/src/test/resources/file.conf b/discovery/seata-discovery-core/src/test/resources/file.conf index 3a648af21a0..908d7c2a89c 100644 --- a/discovery/seata-discovery-core/src/test/resources/file.conf +++ b/discovery/seata-discovery-core/src/test/resources/file.conf @@ -17,7 +17,7 @@ #loadBalance config client { loadBalance { - type = "RandomLoadBalance" + type = "XID" virtualNodes = 10 } } diff --git a/script/client/conf/file.conf b/script/client/conf/file.conf index 7c99daa059a..a91822aaede 100644 --- a/script/client/conf/file.conf +++ b/script/client/conf/file.conf @@ -106,7 +106,7 @@ client { } } loadBalance { - type = "RandomLoadBalance" + type = "XID" virtualNodes = 10 } } @@ -120,4 +120,4 @@ tcc { # tcc fence log clean period cleanPeriod = 1h } -} \ No newline at end of file +} diff --git a/script/client/spring/application.properties b/script/client/spring/application.properties index 0c4d4b72d42..662b4de3ced 100755 --- a/script/client/spring/application.properties +++ b/script/client/spring/application.properties @@ -54,7 +54,7 @@ seata.client.undo.log-table=undo_log seata.client.undo.compress.enable=true seata.client.undo.compress.type=zip seata.client.undo.compress.threshold=64k -seata.client.load-balance.type=RandomLoadBalance +seata.client.load-balance.type=XID seata.client.load-balance.virtual-nodes=10 seata.log.exception-rate=100 seata.service.vgroup-mapping.default_tx_group=default diff --git a/script/client/spring/application.yml b/script/client/spring/application.yml index 9a547964d57..9a62f299e30 100755 --- a/script/client/spring/application.yml +++ b/script/client/spring/application.yml @@ -44,7 +44,7 @@ seata: type: zip threshold: 64k load-balance: - type: RandomLoadBalance + type: XID virtual-nodes: 10 service: vgroup-mapping: diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 5ca2a8de55c..25f0f14263c 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -214,7 +214,7 @@ "name": "seata.client.load-balance.type", "type": "java.lang.String", "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.LoadBalanceProperties", - "defaultValue": "RandomLoadBalance" + "defaultValue": "XID" }, { "name": "seata.client.load-balance.virtual-nodes", @@ -226,7 +226,7 @@ "name": "seata.registry.load-balance", "type": "java.lang.String", "sourceType": "io.seata.spring.boot.autoconfigure.properties.registry.RegistryProperties", - "defaultValue": "RandomLoadBalance", + "defaultValue": "XID", "deprecation": { "level": "error", "replacement": "seata.client.load-balance.type", @@ -348,7 +348,7 @@ "name": "seata.client.load-balance.type", "values": [ { - "value": "RandomLoadBalance", + "value": "XID", "description": "the default load balance." }, { @@ -442,4 +442,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java index 158196956cc..ceeb90f6d66 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/io/seata/spring/boot/autoconfigure/ClientPropertiesTest.java @@ -108,7 +108,7 @@ public void testUndoProperties() { @Test public void testLoadBalanceProperties() { - assertEquals("RandomLoadBalance", context.getBean(LoadBalanceProperties.class).getType()); + assertEquals("XID", context.getBean(LoadBalanceProperties.class).getType()); assertEquals(10, context.getBean(LoadBalanceProperties.class).getVirtualNodes()); } diff --git a/test/src/test/resources/file.conf b/test/src/test/resources/file.conf index f42eec4474b..249f11f9a27 100644 --- a/test/src/test/resources/file.conf +++ b/test/src/test/resources/file.conf @@ -63,7 +63,7 @@ client { sagaCompensatePersistModeUpdate = false } loadBalance { - type = "RandomLoadBalance" + type = "XID" virtualNodes = 10 } -} \ No newline at end of file +} From 9acfc6fd13f453eb1e73b6cc6c1a10e5fde36429 Mon Sep 17 00:00:00 2001 From: xingfudeshi Date: Fri, 6 Jan 2023 09:51:44 +0800 Subject: [PATCH 4/8] unify default load-balance policy --- .../META-INF/additional-spring-configuration-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 25f0f14263c..e1fb35e5700 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -226,7 +226,7 @@ "name": "seata.registry.load-balance", "type": "java.lang.String", "sourceType": "io.seata.spring.boot.autoconfigure.properties.registry.RegistryProperties", - "defaultValue": "XID", + "defaultValue": "RandomLoadBalance", "deprecation": { "level": "error", "replacement": "seata.client.load-balance.type", From 71ee860dd3e086df4ac37089956653a527071af4 Mon Sep 17 00:00:00 2001 From: xingfudeshi Date: Fri, 6 Jan 2023 17:52:08 +0800 Subject: [PATCH 5/8] unify default load-balance policy --- .../META-INF/additional-spring-configuration-metadata.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json index e1fb35e5700..6e13dff145a 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -359,6 +359,9 @@ }, { "value": "LeastActiveLoadBalance" + }, + { + "value": "RandomLoadBalance" } ] }, From 3c95afe22226464208af066fb331a04cbfd05998 Mon Sep 17 00:00:00 2001 From: xingfudeshi Date: Thu, 12 Jan 2023 13:07:54 +0800 Subject: [PATCH 6/8] update changes --- changes/en-us/2.0.0.md | 3 ++- changes/zh-cn/2.0.0.md | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/changes/en-us/2.0.0.md b/changes/en-us/2.0.0.md index 4593f9bae53..73f077ddb73 100644 --- a/changes/en-us/2.0.0.md +++ b/changes/en-us/2.0.0.md @@ -18,7 +18,7 @@ The version is updated as follows: - [[#1234](https://github.com/seata/seata/pull/1234)] Please delete the sample later ### bugfix: - - [[#1234](https://github.com/seata/seata/pull/1234)] Please delete the sample later + - [[#5233](https://github.com/seata/seata/pull/5233)] fix the inconsistent configuration item names related to LoadBalance ### optimize: - [[#1234](https://github.com/seata/seata/pull/1234)] Please delete the sample later @@ -32,6 +32,7 @@ The version is updated as follows: Thanks to these contributors for their code commits. Please report an unintended omission. - [slievrly](https://github.com/slievrly) + - [xingfudeshi](https://github.com/xingfudeshi) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.0.0.md b/changes/zh-cn/2.0.0.md index 591880a4071..972f0bdc52c 100644 --- a/changes/zh-cn/2.0.0.md +++ b/changes/zh-cn/2.0.0.md @@ -18,7 +18,7 @@ Seata 是一款开源的分布式事务解决方案,提供高性能和简单 - [[#1234](https://github.com/seata/seata/pull/1234)] 样例,后续请删除 ### bugfix: - - [[#1234](https://github.com/seata/seata/pull/1234)] 样例,后续请删除 + - [[#5233](https://github.com/seata/seata/pull/5233)] 修复LoadBalance相关配置不一致的问题 ### optimize: - [[#1234](https://github.com/seata/seata/pull/1234)] 样例,后续请删除 @@ -32,7 +32,7 @@ Seata 是一款开源的分布式事务解决方案,提供高性能和简单 非常感谢以下 contributors 的代码贡献。若有无意遗漏,请报告。 - [slievrly](https://github.com/slievrly) - + - [xingfudeshi](https://github.com/xingfudeshi) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 From bea9ef27414bb5d7b5e94063767150935fce0910 Mon Sep 17 00:00:00 2001 From: xingfudeshi Date: Thu, 12 Jan 2023 13:16:31 +0800 Subject: [PATCH 7/8] Revert "update changes" This reverts commit 3c95afe22226464208af066fb331a04cbfd05998. --- changes/en-us/2.0.0.md | 3 +-- changes/zh-cn/2.0.0.md | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/changes/en-us/2.0.0.md b/changes/en-us/2.0.0.md index 73f077ddb73..4593f9bae53 100644 --- a/changes/en-us/2.0.0.md +++ b/changes/en-us/2.0.0.md @@ -18,7 +18,7 @@ The version is updated as follows: - [[#1234](https://github.com/seata/seata/pull/1234)] Please delete the sample later ### bugfix: - - [[#5233](https://github.com/seata/seata/pull/5233)] fix the inconsistent configuration item names related to LoadBalance + - [[#1234](https://github.com/seata/seata/pull/1234)] Please delete the sample later ### optimize: - [[#1234](https://github.com/seata/seata/pull/1234)] Please delete the sample later @@ -32,7 +32,6 @@ The version is updated as follows: Thanks to these contributors for their code commits. Please report an unintended omission. - [slievrly](https://github.com/slievrly) - - [xingfudeshi](https://github.com/xingfudeshi) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.0.0.md b/changes/zh-cn/2.0.0.md index 972f0bdc52c..591880a4071 100644 --- a/changes/zh-cn/2.0.0.md +++ b/changes/zh-cn/2.0.0.md @@ -18,7 +18,7 @@ Seata 是一款开源的分布式事务解决方案,提供高性能和简单 - [[#1234](https://github.com/seata/seata/pull/1234)] 样例,后续请删除 ### bugfix: - - [[#5233](https://github.com/seata/seata/pull/5233)] 修复LoadBalance相关配置不一致的问题 + - [[#1234](https://github.com/seata/seata/pull/1234)] 样例,后续请删除 ### optimize: - [[#1234](https://github.com/seata/seata/pull/1234)] 样例,后续请删除 @@ -32,7 +32,7 @@ Seata 是一款开源的分布式事务解决方案,提供高性能和简单 非常感谢以下 contributors 的代码贡献。若有无意遗漏,请报告。 - [slievrly](https://github.com/slievrly) - - [xingfudeshi](https://github.com/xingfudeshi) + 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 From 7d9522884542df87ac43d55397e53c96fd983a4e Mon Sep 17 00:00:00 2001 From: xingfudeshi Date: Thu, 12 Jan 2023 13:17:00 +0800 Subject: [PATCH 8/8] update changes --- changes/en-us/develop.md | 3 +++ changes/zh-cn/develop.md | 2 ++ 2 files changed, 5 insertions(+) diff --git a/changes/en-us/develop.md b/changes/en-us/develop.md index 2be0b0db0f3..90c5f323cac 100644 --- a/changes/en-us/develop.md +++ b/changes/en-us/develop.md @@ -10,6 +10,8 @@ Add changes here for all PR submitted to the develop branch. - [[#5021](https://github.com/seata/seata/pull/5201)] Fix JDK Reflection for Spring origin proxy failed in JDK17 - [[#5023](https://github.com/seata/seata/pull/5203)] Fix `seata-core` dependency transitive conflict in `seata-dubbo` - [[#5224](https://github.com/seata/seata/pull/5224)] fix oracle initialize script index_name is duplicate +- [[#5233](https://github.com/seata/seata/pull/5233)] fix the inconsistent configuration item names related to LoadBalance + ### optimize: @@ -29,5 +31,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [albumenj](https://github.com/albumenj) - [PeppaO](https://github.com/PeppaO) - [yuruixin](https://github.com/yuruixin) +- [xingfudeshi](https://github.com/xingfudeshi) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/develop.md b/changes/zh-cn/develop.md index 3d9b326af77..9248b04fc5e 100644 --- a/changes/zh-cn/develop.md +++ b/changes/zh-cn/develop.md @@ -10,6 +10,7 @@ - [[#5021](https://github.com/seata/seata/pull/5201)] 修复 JDK17 下获取 Spring 原始代理对象失败的问题 - [[#5023](https://github.com/seata/seata/pull/5203)] 修复 `seata-core` 模块传递依赖冲突 - [[#5224](https://github.com/seata/seata/pull/5224)] 修复 oracle初始化脚本索引名重复的问题 +- [[#5233](https://github.com/seata/seata/pull/5233)] 修复LoadBalance相关配置不一致的问题 ### optimize: @@ -29,5 +30,6 @@ - [albumenj](https://github.com/albumenj) - [PeppaO](https://github.com/PeppaO) - [yuruixin](https://github.com/yuruixin) +- [xingfudeshi](https://github.com/xingfudeshi) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。