You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
service {
#transaction service group mapping
vgroupMapping.default_tx_group = "default"
#only support when registry.type=file, please don't set multiple addresses
default.grouplist = "127.0.0.1:8091"
#degrade, current not support
enableDegrade = false
#disable seata
disableGlobalTransaction = false
}
This introduces a new problem. client.tm.downgradeCheck and service.enableDegrade seem to have exactly the same function. Why do we need two properties to do the same thing?
Minimal yet complete reproducer code (or URL to code):
Null.
Ⅴ. Anything else we need to know?
Null.
Ⅵ. Environment:
JDK version(e.g. java -version):
openjdk version "21.0.2" 2024-01-16
OpenJDK Runtime Environment GraalVM CE 21.0.2+13.1 (build 21.0.2+13-jvmci-23.1-b30)
OpenJDK 64-Bit Server VM GraalVM CE 21.0.2+13.1 (build 21.0.2+13-jvmci-23.1-b30, mixed mode, sharing)
Seata client/server version: 2.0.0
Database version: MySQL Server 8.3.0
OS(e.g. uname -a): Linux DESKTOP-J7M76VH 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Others: Null
The text was updated successfully, but these errors were encountered:
@linghengqian I apologize for any inconvenience this may have caused you, and thank you for your feedback.
The service.enableDegrade has been deprecated, and I have removed it from both the code and the sample configuration files.
Seata currently supports simulating empty transaction commit during runtime to decide on transaction degrade or upgrade. The tm.degradeCheck configuration (default is false) indicates whether to enable this feature. The tm.degradeCheckPeriod configuration (default is 2s) specifies the interval for the periodic detection. The tm.degradeCheckAllowTimes configuration (default is 10) represents the threshold of consecutive events required to trigger degrade or upgrade.
Additionally, the code for degrade was mistakenly deleted before and will be fixed in version 2.1.
Ⅰ. Issue Description
Documentation lacks explanation of
service.enableDegrade
property.In https://github.com/apache/incubator-seata/blob/v2.0.0/script/client/conf/file.conf , there is a property called
service.enableDegrade
and annotated asdegrade, current not support
.client.tm.downgradeCheck
at https://seata.apache.org/zh-cn/docs/user/configurations/#client%E7%AB%AF .This introduces a new problem.
client.tm.downgradeCheck
andservice.enableDegrade
seem to have exactly the same function. Why do we need two properties to do the same thing?An early investigation is at Add GraalVM Reachability Metadata and corresponding nativeTest for Seata integration shardingsphere#30138 .
Ⅱ. Describe what happened
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Minimal yet complete reproducer code (or URL to code):
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
java -version
):openjdk version "21.0.2" 2024-01-16 OpenJDK Runtime Environment GraalVM CE 21.0.2+13.1 (build 21.0.2+13-jvmci-23.1-b30) OpenJDK 64-Bit Server VM GraalVM CE 21.0.2+13.1 (build 21.0.2+13-jvmci-23.1-b30, mixed mode, sharing)
2.0.0
uname -a
):Linux DESKTOP-J7M76VH 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: