Closed finovy closed 9 months ago
Alpine Linux Try switching to another OS?
Hello, we switched to Debian and the same issue occurred. I'm not sure what additional configuration is required for raft in seata 2.0.0, even though our store mode uses db.
我确认了这是一个bug,不应该在其他的存储模式中,初始化jraft的类 I confirmed that this is a bug and should not initialize jraft's class in other storage modes
请帮我确认下,是否在非alpine linux中运行正常,因为我们的测试环境都是非alpine linux的,对相关存储模式都有过测试验证。 Please help me to confirm if it works fine in non-alpine linux, because our test environment are non-alpine linux, and we have tested and verified the relevant storage modes
Is there any mistake in your description above? Are you trying to verify the operational status on Alpine Linux?
I would like to ask for your assistance in verifying whether running Seata Server on a non-Alpine Linux environment can solve the issue.
Alright, I've confirmed once again that it doesn't work when running on Debian GNU/Linux 11 (bullseye). We are using TCC mode with the store mode using a database, and we haven't configured any raft-related parameters.
Are you running Seata Server on Debian GNU/Linux 11 (bullseye) or running the client on Debian GNU/Linux 11 (bullseye)?
Seata Server. We temporarily commented out this line, and now there are no error messages.
public void addBranch(BranchSession branchSession) throws TransactionException { SessionHolder.getRootSessionManager().onAddBranch(this, branchSession); for (SessionLifecycleListener lifecycleListener : lifecycleListeners) { lifecycleListener.onAddBranch(this, branchSession); } // if (!RaftServerFactory.getInstance().isRaftMode()) { add(branchSession); // } }
I'm using centos 7.6 and don't have this exception you mentioned
Ⅰ. Issue Description
使用2.0.0版本发起TCC事务时报了如下错误
Ⅱ. Describe what happened
在BranchRegister addBranch 时报错如下错误:
Ⅲ. Describe what you expected to happen
能够正常完成事务注册
Ⅳ. How to reproduce it (as minimally and precisely as possible)
直接发起tcc事务
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
java -version
): 19 和 21都会出现uname -a
): Alpine Linux 3.18.3