Commit Graph

12681 Commits

Author SHA1 Message Date
2bbec477ba tikv: use timestamp from TSO instead of MaxVersion in point get retry (#22789)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2021-02-22 11:22:46 +08:00
78debe76ef planner: fix where condition index out of range (#22833) 2021-02-22 11:06:17 +08:00
461cae15a7 planner, distsql: fix the behaviour of building ranges for TiFlash (#22725) 2021-02-21 18:29:46 +08:00
023f17f900 store/tikv: move some code (#22810)
Signed-off-by: disksing <i@disksing.com>
2021-02-20 18:14:16 +08:00
4f56ab07a2 expression: do not adjust int when it is null and compared year (#22821)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2021-02-20 14:43:16 +08:00
8184e69eb7 planner,cascade: remove useless codes (#22770) 2021-02-20 14:17:16 +08:00
3ad7f40140 expression: Add warning info for exprs that can not be pushed to storage layer (#22713) 2021-02-20 10:41:57 +08:00
381ac81f2d store/tikv: extract GetTiFlashAddrs from MPPClient (#22802)
Signed-off-by: disksing <i@disksing.com>
2021-02-19 21:56:56 +08:00
8842bbcde2 statistics: merge partition-level TopN to global-level TopN (#22433) 2021-02-19 19:05:58 +08:00
c9e85ec701 expression: refine performance of EXTRACT function (#22701) 2021-02-19 15:31:27 +08:00
8c2db1b935 expression: fix enum and set type expression in where clause (#22785)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2021-02-19 15:14:57 +08:00
a3a4a6c4da executor: add new format specifier(%# %@ %.) for str_to_date expression (#22790) 2021-02-19 14:57:27 +08:00
99d0b22f04 session, util: update session to use new APIs (#22652) 2021-02-19 13:10:30 +08:00
59ccb29508 statistics: merge the partition-level histograms to a global-level histogram (#22603) 2021-02-19 11:08:04 +08:00
a06c22ae35 store/tikv: prepare for moving coprocessor out (#22732)
Signed-off-by: disksing <i@disksing.com>
2021-02-19 04:36:28 +08:00
9374724231 kv/typo: fix the description for GetMemCache (#22766)
Signed-off-by: mwish <anmmscs_maple@qq.com>
2021-02-19 00:15:27 +08:00
9cb9b69b61 session: ignore linearizability setting for auto-commit transactions (#22746)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2021-02-18 15:02:32 +08:00
4031706e32 gcworker: remove handler interface (#22779)
Signed-off-by: disksing <i@disksing.com>
2021-02-18 12:09:31 +08:00
fb84db123c executor: make memory tracker for aggregate more accurate. (#22463) 2021-02-18 11:27:11 +08:00
c9af430996 expression: speed up Column.VecEvalReal by using MergeNulls (#22191) 2021-02-17 21:02:39 +08:00
d6a2b9a372 server: add tests for empty query hang (#22740) 2021-02-11 10:46:42 +08:00
8fe8ecd3b9 *: update mysql compatibility link (#20499) 2021-02-09 23:35:12 +08:00
4a6e73959b CircleCI: upgrade go version from 1.13 to 1.15 (#19170) 2021-02-09 21:02:42 +08:00
2ae8529dc5 README.md: update links about CNCF and contribution guide (#20307) 2021-02-09 17:07:41 +08:00
4c0c5db5e1 docs/design: fix a typo (Mirgration → Migration) in the template (#20782) 2021-02-09 16:49:11 +08:00
38aaad2414 util/timeutil: fix timeutil/time_test.go on Windows (#22758) 2021-02-08 09:42:41 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
dedaabb800 ddl: migrate part of ddl package code from Execute/ExecRestricted to safe API (2) (#22729) 2021-02-05 18:05:45 +08:00
6483b7dc29 store/tikv_driver: move gcworker into tikv_driver (#22698)
Co-authored-by: disksing <i@disksing.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-02-05 17:34:54 +08:00
006e2fcd08 cmd: restore the old Execute API only for the test (#22692)
Signed-off-by: AilinKid <314806019@qq.com>
2021-02-05 16:05:40 +08:00
46acccede1 *: uprgade gopsutil to v3.20.12 (#22747) 2021-02-05 15:50:11 +08:00
7f8935a61c server: fix tcp-keep-alive config (#22745)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-02-05 15:13:42 +08:00
75f7485688 ddl: migrate part of ddl package code from Execute/ExecRestricted to safe API (1) (#22670)
Signed-off-by: AilinKid <314806019@qq.com>
2021-02-05 13:23:17 +08:00
20ddc19f22 server: retry executing sql without tiflash after tiflash is down (#22459) 2021-02-05 12:14:41 +08:00
2d717c12b3 statistics: merge the partition-level stats to global-level stats (#22667) 2021-02-05 11:42:41 +08:00
9a2997facb statistics,executor: fix some unit tests that run twice (#22705) 2021-02-05 11:27:11 +08:00
8ddaf03db1 executor: fix load data losing connection when batch_dml_size is set (#22724) 2021-02-05 10:51:42 +08:00
4fe72e539f store/tikv: move metrics shortcuts to /metrics (#22693)
Signed-off-by: disksing <i@disksing.com>
2021-02-04 19:48:45 +08:00
6d53dda29d plan, mpp: refine the precision of avg(decimal) & avg(null) for mpp (#22668) 2021-02-04 18:58:15 +08:00
745729fd91 bindinfo: use new sql apis (#22653) 2021-02-04 18:31:15 +08:00
d16241c0cc client: update PD client to make sure the TSO uniqueness (#22476)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2021-02-04 18:14:46 +08:00
xhe
4172f473da *: adapt new api for the executor package (#22644)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-02-04 17:32:15 +08:00
e62d1d472c *: add some explain tests for cluster index (#22720)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2021-02-04 17:10:21 +08:00
2fc1703a9c session, exectutor: Guarantee external consistency by default; Add an explicit begin statement to disable it (#22597)
Signed-off-by: ekexium <ekexium@gmail.com>
2021-02-04 16:09:46 +08:00
343c412531 planner, executor, statistics: add tests for version 2 and fix bugs (#22461)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-02-04 15:52:30 +08:00
50fc4ba3b6 README: change mailing list from google group to lists.tidb.io (#22719) 2021-02-04 12:59:45 +08:00
825c98f3cc config: use label key instead of txn-scope (#22639)
Signed-off-by: Song Gao <disxiaofei@163.com>
2021-02-04 12:08:15 +08:00
93d3d04092 executor: support checking schemaVer before staleness transaction begins (#22679) 2021-02-04 11:48:45 +08:00
feb9da8460 store/tikv: prepare for moving coprocessor out (#22709) 2021-02-04 11:28:36 +08:00
9e3c0649e4 ddl, session: add tidb_enable_exchange_partition variable (#22638) 2021-02-03 20:36:57 +08:00