Commit Graph

1929 Commits

Author SHA1 Message Date
0a92c4d133 store: Add metrics for pd api call time (#30062) 2021-12-01 18:49:53 +08:00
7124e62bdb *: update client-go to use resolveForRead (#30314) 2021-12-01 18:23:54 +08:00
37e0dac259 copr: add paging API for streaming-like process (#29612) 2021-11-30 13:13:52 +08:00
df113a1242 unistore: get/batchGet/scan support read-through-lock (#29898) 2021-11-29 14:37:51 +08:00
5916672ce9 store/driver: Use BatchGet method supported in client-go. (#29860) 2021-11-24 19:17:51 +08:00
b11171aa71 topsql: distinguish the row and index operation type (#29044) 2021-11-24 10:17:51 +08:00
8b028b899d *: replace compareDatum by compare (#30060) 2021-11-23 17:49:50 +08:00
205d9ab910 executor, store: replace compareDatum by compare (#30044) 2021-11-23 16:19:50 +08:00
7aa86cc96a *: Enable gosec for implicit memory aliasing in for loop (#28996) 2021-11-19 20:07:48 +08:00
b1352ded03 *: postpone drop bundle for truncate/drop partition/drop schema to gc (#29810) 2021-11-18 12:03:47 +08:00
885928ca9a ddl: fix the issue that the rule may be deleted by accident (#29679) 2021-11-12 11:41:05 +08:00
1d179552f4 mockstore: set FieldType.charset in coprocessor (#29646) 2021-11-11 17:53:06 +08:00
af5b449270 *: update tikv client to use the new transaction Begin method (#29426) 2021-11-11 11:35:05 +08:00
37bfd57dac *: support makezero via golangci-lint (#29267) 2021-11-10 17:05:06 +08:00
a0cd121f19 copr: do not hide original error for MPP query that will not faillback to TiKV (#29342) 2021-11-03 16:25:01 +08:00
5518f8bd8e *: update client-go and fix metrics (#29354) 2021-11-02 20:38:51 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
a96deabe7e sessionctx: remove variables tidb_enable_mpp_balance_with_continuous_region* (#29309) 2021-11-02 13:08:51 +08:00
72c8e738ef store/driver: update client-go and errors (#29295) 2021-11-02 11:28:52 +08:00
5e7a871c3d planner: refine warnings about can't push down to TiFlash. (#29285) 2021-11-01 00:02:50 +08:00
1f39a9f81d *: add two session variables to control the PD client option (#29120) 2021-10-31 00:12:49 +08:00
36bc41ad05 *: reduce object allocation by reuse chunk column (#29064) 2021-10-28 13:14:48 +08:00
2ba75e4af5 statistics: introduce bernoulli sampling method (#28999) 2021-10-28 12:52:49 +08:00
861bc15216 copr: MPP balance regions between TiFlash nodes with continuity. (#28906) 2021-10-20 12:18:42 +08:00
7c1b321dbb ddl: postpone cleaning placement rules to gc-worker (#28687) 2021-10-14 11:17:26 +08:00
a0df2353dd store/driver: convert undetermined error (#28730)
Signed-off-by: disksing <i@disksing.com>
2021-10-12 15:10:08 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
87648de76e store: fix closest_replicas can't work during follower read (#28419) 2021-09-28 15:10:47 +08:00
6be6e928b7 store: use latest tikv client (#28373) 2021-09-27 13:18:46 +08:00
7f6262bc76 copr: avoid too much useless log in mpp (#28367) 2021-09-27 10:18:46 +08:00
8f61a69e99 ddl: add index to support rule override (#27660) 2021-09-26 14:20:46 +08:00
6a8375a8f3 store: thread safe for Register kv.Driver (#28267) 2021-09-25 09:06:46 +08:00
624f7cab3b copr: Fix bug that mpp node availability detect does not work in some corner cases (#28201) 2021-09-23 13:22:46 +08:00
680de922ed *: fix license header (#28085) 2021-09-17 22:26:41 +08:00
c6dfd705e1 copr: avoid NPE when store is not available when balance batch cop task (#28110) 2021-09-17 13:26:42 +08:00
acf7232069 go.mod: change github.com/uber-go/atomic to go.uber.org/atomic (#26508) 2021-09-17 11:42:42 +08:00
463e6ba2e4 store: migrate test-infra to testify (#27993) 2021-09-16 14:58:43 +08:00
2bfce32b2a mockstore: remove unused code (#28063) 2021-09-16 09:46:42 +08:00
89617e20b2 txn: allow transaction set custom retrievers (#27847) 2021-09-14 16:08:41 +08:00
1bad3647cd store/gcworker: fix test data race (#27986) 2021-09-14 15:22:41 +08:00
193b74ecbb executor: rename txnScope as readReplicaScope instead (#27987) 2021-09-14 12:54:40 +08:00
5441a031ac store/mockstore: migrate test-infra to testify for some files (#27724) 2021-09-13 17:52:40 +08:00
29fd989bb2 store/mockstore/unistore/lockstore, store/mockstore/unistore/util/lockwaiter: migrate test-infra to testify (#27705) 2021-09-13 17:38:40 +08:00
ebd2cdbc5e store/mockstore/unistore/tikv: migrate test-infra to testify (#27728) 2021-09-13 17:08:40 +08:00
64e1fd5e66 store/helper: Migrate test-infra to testify (#27965) 2021-09-12 08:44:39 +08:00
5fb3cd42f7 store/mockstore/mockcopr, store/mockstore/unistore/cophandler: migrate test-infra to testify (#27704) 2021-09-11 11:18:39 +08:00
db4a34ee84 txn: introduce kv.SnapshotInterceptor to intercept txn read operations (#27936) 2021-09-09 20:50:38 +08:00
649ed6abc9 *: Log SQL statement when coprocessor encounteres lock (#27735) 2021-09-08 20:21:03 +08:00
9ab65674a9 store/driver: migrate test-infra to testify (#27845) 2021-09-08 19:34:58 +08:00
dda704869f store: reduce time of ConnTestSuite.TestTiFlashFallback (#26659) 2021-09-07 13:26:57 +08:00