Liangliang Gu
Liangliang Gu
## Feature Request ### Description Integrate with TiKV Java Client and TiBigData Project ### Category Feature ### Task List * [ ] TODO GanttStart: 2020-08-03 GanttDue: 2020-10-30 GanttProgress: 90%
tisparkBranch=master & release-2.4 & release-2.4; tidbVersion=v4.0.11; testTiFlash=true; https://internal.pingcap.net/idc-jenkins/blue/rest/organizations/jenkins/pipelines/tispark_regression_test_daily/runs/2681/nodes/132/steps/654/log/?start=0 ``` [2021-03-14T16:40:54.318Z] 21/03/15 00:41:42 ERROR SharedSQLContext: TiSpark over TiFlash failed when executing: select col_timestamp0 from test_945071674 where col_bit < 1 [2021-03-14T16:40:54.318Z] org.scalatest.exceptions.TestFailedException:...
``` [2020-11-29T15:52:34.655Z] - lock on tiflash: not expired *** FAILED *** [2020-11-29T15:52:34.655Z] org.scalatest.exceptions.TestFailedException was thrown. (BaseTiSparkTest.scala:500) ``` https://internal.pingcap.net/idc-jenkins/blue/rest/organizations/jenkins/pipelines/tispark_regression_test_daily/runs/2047/nodes/127/steps/548/log/?start=0 tispark: master branch tidb: master branch tiflash: master branch
``` val tiSession: TiSession = TiSession.create(tiConf) CacheInvalidateListener.initCacheListener(sparkSession.sparkContext, tiSession.getRegionManager) // it's to late to inject tiSession.injectCallBackFunc(CacheInvalidateListener.getInstance()) ```
tikv-client should refine region-cache just like tidb does. see https://github.com/pingcap/tidb/pull/10256
**Is your feature request related to a problem? Please describe.** currently we must adjust gc time manually **Describe the solution you'd like** support adjust gc according to the running time...
too many request to tikv may cause `tikv too busy`, so `Coprocessor Request Flow Control` should be used to protect TiKV
