Skip to content

Conversation

@SABERYJS
Copy link
Contributor

@SABERYJS SABERYJS commented Feb 4, 2024

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

升级jraft到1.3.14

Ⅱ. Does this pull request fix one issue?

修复因jraft1.3.13 引起的程序的bug Parse Protocol fail failed
fixes #6083

[root@k8snodemaster seata]# cat logs/seata-server.8091.all.log grep -B20 ProtobufMsgFactory
at io.seata.server.session.SessionHolder. LockAndExecute(SessionHolder.java:332)
at io.seata.server.coordinator.AbstractCore.branchRegister (AbstractCore.java:77)
at io.seata.server.coordinator. DefaultCore.branchRegister (DefaultCore.java:107)
at io.seata.server.coordinator. DefaultCoordinator.doBranch Register (DefaultCoordinator.java:299)
at io.seata.server. Abstract TCInboundHandler$4.execute(Abstract
TCInboundHandler.java:184)
at io.seata.server. Abstract TCInboundHandler$4.execute(Abstract TCInboundHandler.java:179)
at io.seata.core.exception. AbstractExceptionHandler.exceptionHandle
at io.seata.server. Abstract TCInboundHandler.handle(Abstract TCInboundHandler.java:179)
at io.seata.core.protocol.transaction. Branch RegisterRequest.handle(Branch Register Request.java:136)
at io.seata.server.coordinator. DefaultCoordinator.onRequest (DefaultCoordinator.java:523)
at io.seata.core.rpc.processor.server. ServerOnRequest Processor.handleRequestsByMergedWarpMessage(ServerOnRequest Proces
$AsyncSupply.exec(CompletableFuture.java:1760)
at io.seata.core.rpc.processor.server. ServerOnRequest Processor. Lambda$onRequestMessage$1(ServerOnRequest Processor.java
at java.base/java.util.concurrent. Completable Future $AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent. CompletableFuture
at java.base/java.util.concurrent.
at java.base/java.util.concurrent.
at java.base/java.util.concurrent.
at java.base/java.util.concurrent.
at java.base/java.util.concurrent. ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang. IllegalStateException: Parse protocol file failed.
at com.alipay.sofa.jraft.rpc.ProtobufMsgFactory. Load (ProtobufMsgFactory.java:88)
Template(AbstractExceptionHandler.java:131)
ForkJoinTask.doExec(ForkJoinTask.java:373)
ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
Fork JoinPool.scan (ForkJoinPool.java:1655)
ForkJoinPool.runWorker (ForkJoinPool.java:1622)

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@funky-eyes funky-eyes changed the title 升级jraft到1.3.14 bugfix: upgrade jraft to 1.3.14 Feb 4, 2024
@xingfudeshi
Copy link
Member

Please register this PR in changes

@funky-eyes funky-eyes added this to the 2.1.0 milestone Feb 5, 2024
@funky-eyes funky-eyes added type: bug Category issues or prs related to bug. first-time contributor first-time contributor module/server server module labels Feb 5, 2024
@funky-eyes funky-eyes changed the title bugfix: upgrade jraft to 1.3.14 bugfix: Parse protocol file failed Feb 5, 2024
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@funky-eyes funky-eyes merged commit 8e5de24 into apache:2.x Feb 5, 2024
YvCeung pushed a commit to YvCeung/incubator-seata that referenced this pull request Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

first-time contributor first-time contributor module/server server module type: bug Category issues or prs related to bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Seata 2.0.0 TCC事务发起异常

4 participants