Commit Graph

8026 Commits

Author SHA1 Message Date
aade9a45f2 store/tikv: resolve locks in a batch (#5750) 2018-02-26 16:33:29 +08:00
cd63332ebf expression, plan: extract the same part from DNF's leaves. (#5831) 2018-02-26 16:03:05 +08:00
d9934935ca *: set have_profiling to NO (#5907)
Fixes issue #5666
2018-02-26 15:30:50 +08:00
d2709af9e7 owner: add recover panic in owner campaignLoop. (#5904) 2018-02-26 15:02:46 +08:00
4844e4636e executor: add recover mechanism for union workers (#5900) 2018-02-26 12:55:23 +08:00
27c65d25bb executor, distsql: move "requestBuilder" from package "executor" to "distsql" (#5903) 2018-02-26 12:46:51 +08:00
ba04a342c5 *:fix some ineffassign to improve GoReport Result (#5901) 2018-02-25 14:32:20 +08:00
40129dfbf4 executor:add more comments for baseExecutor (#5825) 2018-02-24 22:03:53 +08:00
3d75a51e0a add tests to ensure zero-dependency on parser for store/tikv (#5889) 2018-02-24 19:59:21 +08:00
5807feaf5b makefile,store/tikv: allow golint check context.Context in 'make check' (#5898) 2018-02-24 19:38:28 +08:00
07f1bac316 executor: add recover mechanism for join workers (#5894) 2018-02-24 19:12:17 +08:00
8268d4d8b4 *: move irrelevant code out of package "distsql" (#5893) 2018-02-24 18:52:09 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
056be70872 ddl: fix panic in drop column (#5883) 2018-02-23 11:26:04 +08:00
c227248c54 tidb: improve session.go and txn.go test coverage (#5874) 2018-02-22 20:30:13 +08:00
aeb6c771e1 *: Update go version (#5885)
update go version to 1.10 and re-format with newest gofmt
2018-02-22 04:47:42 -06:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
6e33a6a081 distsql, executor: rename "SelectDAG" to "Select" (#5887) 2018-02-22 10:57:40 +08:00
fcc6d568b0 tidb: read plan.PlanCacheEnabled only once (#5842) 2018-02-22 10:22:41 +08:00
935b66f5c5 ddl: refine syncer log and add some comments (#5871)
* ddl: refine syncer log and add some comments
2018-02-14 17:22:34 +08:00
fcbb4c53a2 parser: parse "select 1 order by 1" statement (#5881)
* parser: parse "select 1 order by 1" statement
2018-02-14 16:08:55 +08:00
40277504c0 stats: fix panic when updating stats table (#5880) 2018-02-13 21:24:05 +08:00
80f3db9790 *: move metrics from main.go to metrics package (#5876) 2018-02-13 14:55:31 +08:00
d9e16e104f *: Cleanup code (#5852) 2018-02-12 23:17:03 +08:00
c7d4a7a793 ddl: fix a panic when add column with insert an index column (#5877) 2018-02-12 21:45:45 +08:00
f3b8b04b69 util/admin: clean up and add comparing table and index count func (#5869) 2018-02-12 18:27:18 +08:00
353d0adb8a util/systimemon: add keep alive metrics, used to figure out tidb instance is down. (#5847) 2018-02-12 17:34:02 +08:00
45457ea881 ddl: add column info and index info in log (#5843) 2018-02-12 15:56:16 +08:00
46e2d3e1cf plan: get correct columns (#5846) 2018-02-12 15:39:10 +08:00
0dc2d902ce expression: fix a test case that use inconsistent time zone (#5872)
In TestCastFuncSig function, the test use Local time zone,
but the result expect UTC
2018-02-12 13:15:53 +08:00
a687650c9f metrics,tidb: add StatementsPerTransaction and TransactionDuration (#5859) 2018-02-11 21:01:37 -06:00
bafe5697d6 executor: pass goCtx when initialize UnionExec (#5870) 2018-02-11 22:16:34 +08:00
b7f6e4ac73 metrics: rename _count to _num (#5868)
Prometheus has a builtin suffix `_count` for histogram metrics, change `_count` to `_num` to avoid conflict.
2018-02-11 20:16:41 +08:00
ffcd5e83ca rename new_session_test to session_test (#5866) 2018-02-11 19:11:41 +08:00
cd0fca62d0 metrics, plan: add a metric for pseudo estimation. (#5861) 2018-02-11 18:45:04 +08:00
0157fe5e70 metrics: unify metrics naming (#5863) 2018-02-11 18:31:38 +08:00
7059ca0e5f session_test: remove session_test.go (#5862) 2018-02-11 17:37:59 +08:00
e5ffc40240 metrics: Clean up metrics (#5858) 2018-02-11 15:37:18 +08:00
8af98f5e09 importer: rand other types by stats (#5848) 2018-02-11 15:36:59 +08:00
619ce5df09 domain,metrics: move domain metrics, add privilege load counter (#5855) 2018-02-11 00:14:28 -06:00
f3c99cd535 parser: create index support LOCK syntax (#5851) 2018-02-11 10:22:56 +08:00
a63601ad21 store/tikv: run gc workers parallelly (#5837)
* run gc workers parallelly
* dynamically to change gcConcurrency
2018-02-09 21:43:19 +08:00
1850796dab ddl: check table charset option (#5835) 2018-02-09 17:35:01 +08:00
eb71063db1 metrics, ddl, server: Add metrics for ddl and server (#5840)
DDL: is owner
Server events: start/stop/kill/hang
2018-02-09 16:08:49 +08:00
b05bbc5aba tidb: move out TxnState to seperate file from session.go (#5841)
session.go file is large enough, move something out make it cleaner.
Anyway, TxnState is just another kv.Transaction, so the file is txn.go
2018-02-09 01:55:26 -06:00
039ad96562 session_test, plan_test: move out some tests. (#5814) 2018-02-09 14:58:52 +08:00
45f00e8eb3 importer: support rand date by stats (#5830) 2018-02-09 14:21:31 +08:00
e6eb3ae9f5 executor, metrics: add metrics for expensive executors and statement nodes (#5798) 2018-02-09 12:15:20 +08:00
08720d01f9 executor: add more comments (#5728) 2018-02-08 19:55:59 -06:00