tispark
tispark copied to clipboard
[BUG] tispark任务启动延迟
Describe the bug 5.1.1集群tispark任务启动延迟,延迟几十秒或两三分钟启动,在3.0集群上没这个现象。
/lifecycle frozen
https://github.com/pingcap/tispark/issues/2331
https://github.com/pingcap/tispark/issues/959
This phenomenon is induced by two reasons. First, in the case of high concurrency, the locks on the regionCache are locked for a long time due to competition. Second, the original regionCache has a low hit rate, which causes a large number of rpc requests. These two problems have been solved by https://github.com/pingcap/tispark/pull/2106 and https://github.com/pingcap/tispark/pull/1987. In version 2.5 and later, the problem no longer exists.