-
我们在Controller使用了WebAsyncTask的异步返回方式,这种情况下,AbstractSentinelInterceptor中的prehandle会执行两次,rckey变成了2,但是afterCompletion只会执行一次(而且还是在另外一个线程请求的),导致clean的逻辑无法执行,这样entry和context在threadlocal中一直无法清除,最终oom
-
```
[heng@host02-cluster _build]$ ./global_executor_test
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from GlobalExecutorTest
[…
-
Copying from https://github.com/jOOQ/jOOL/issues/283#issuecomment-279160056
This can potentially be handled in `Async`.
```java
static Supplier blocking(Supplier supplier, boolean threadLo…
-
as title. I try to catch exception from **ffmpeg outputstream**, not **FFcommon.throwOnError 's** exceptions,they are difference,right?
for example, I exec the command "ffmpeg -i xxx.mp4 yyy.mp4",*…
-
https://github.com/seata/seata/blob/23924bb4d03aa03310699ad9cef2047835ffb32a/server/src/main/java/io/seata/server/session/BranchSession.java#L46
https://github.com/seata/seata/blob/23924bb4d03aa03310…
-
* 对比分析
* 深究源码
-
## 并发
### 同步类
- [见识不一样的 ConcurrentHashMap](https://mp.weixin.qq.com/s/UXV34hYMHwsFBe9AQCZvLg)
### ThreadLocal
- [ThreadLocal 的奇思妙想](https://mp.weixin.qq.com/s/ucxzyP3GlOdjCRlQgOiy9g)
### 线程…
-
类MQProducer中的sendAfterCommit 51行之后不添加代码 threadLocal.set(msgIds);???
这个方法sendAllThreadLocalMsg 能获取到对应的数据吗?
-
## Is your feature request related to a problem? Please describe.
ThreadLocal has performance issues under virtual threads in jdk21
## Describe the solution you'd like
maybe use CarrierThreadLoca…
-
Just a question.
I have a need to cleanup a specific ThreadLocal variable from one of the Hystrix annotated commands.
Found that I can use HystrixCommandExecutionHook to cleanup ThreadLocal, but…