apache / incubator-seata

:fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution.
https://seata.apache.org/
Apache License 2.0
25.22k stars 8.76k forks source link

bugreport: seems threadlocal memory leak,please fix it . #3167

Open everyhook1 opened 3 years ago

everyhook1 commented 3 years ago

https://github.com/seata/seata/blob/23924bb4d03aa03310699ad9cef2047835ffb32a/server/src/main/java/io/seata/server/session/BranchSession.java#L46 https://github.com/seata/seata/blob/23924bb4d03aa03310699ad9cef2047835ffb32a/server/src/main/java/io/seata/server/session/GlobalSession.java#L54 id didn't find byteBufferThreadLocal.remove()

slievrly commented 3 years ago

@everyhook1 what do you mean id?

wolf8334 commented 3 years ago

I think he means himself. He may want to say 'I'.