incubator-seata icon indicating copy to clipboard operation
incubator-seata copied to clipboard

optimize: splitting MergedWarpMessage enhances the server parallel processing capability

Open funky-eyes opened this issue 5 months ago • 1 comments

  • [ ] I have registered the PR changes.

Ⅰ. Describe what this PR did

当client为2.3.0时,server将merge msg还原回单独的rpcmsg,使其通过msg类型定位到对应的线程池,放入线程池中处理 client为2.3.0时,可直接通过单个response的id定位到future进行响应client的请求,并清理mergemap,避免因为由于单个响应导致client的mergemap无限膨胀无法清理的问题 而由于2.3的client可能跟多个版本server通信,多个版本的client也可能跟2.3server通信,所以老的逻辑不进行改变向下兼容。

Ⅱ. Does this pull request fix one issue?

fixes https://github.com/apache/incubator-seata/issues/6775

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

funky-eyes avatar Sep 03 '24 01:09 funky-eyes