Commit Graph

8026 Commits

Author SHA1 Message Date
471731b04e plan: consider limit during building physcial plan. (#1760)
Consider limit in CBO framework.
2016-09-26 21:53:17 +08:00
a6a456bdb1 store/tikv: add metrics for RegionError. (#1765) 2016-09-26 16:29:28 +08:00
f751336f70 executor: add metric for statement counter (#1755) 2016-09-26 13:09:28 +08:00
53d7d4ed81 tidb-server: Use 15 as default value for metrics-interval (#1764)
We only need to set metrics-addr.
2016-09-26 12:28:40 +08:00
7a2bc12ebd kv: improve test coverage above 80% (#1758) 2016-09-26 11:55:32 +08:00
8b0fbdd507 vendor: update pd-client (#1763) 2016-09-26 10:07:26 +08:00
be703dd7a6 makefile: leverage GOPATH to avoid mv _vendor/vendor (#1748)
Before:
ln -s _vendor/vendor vendor
$(GO) build .
rm -rf vendor

After:
export GOPATH := $(CURDIR)/_vendor:$(GOPATH)
$(GO) build
2016-09-23 16:55:46 +08:00
50fa99ad60 server: add metrics for duration of each session execute stage (#1751) 2016-09-23 14:42:29 +08:00
09906f72da coprosssor: do not share backoffer by tasks. (#1761)
* coprosssor: do not share backoffer by tasks.
2016-09-23 11:33:24 +08:00
685fb1b0c2 executor: split big test file into smaller files. (#1757)
One big test file makes it hard to locate a specific test case.
2016-09-22 21:55:24 +08:00
91303f8ddf fix a bug about upadte stmt. (#1756) 2016-09-22 17:08:34 +08:00
453158c5a3 *: update server metrics (#1749) 2016-09-21 19:44:35 +08:00
bd43d06592 oracle: export some timestamp calculation functions. (#1750) 2016-09-21 17:09:03 +08:00
c4e008a79a *: vendor tool migrate to glide (#1743)
* *: vendor tool migrate to glide
* update github.com/gogo/protobuf vendor
* update several packages
2016-09-21 16:10:23 +08:00
3afc26dbc5 Update QUICKSTART.md (#1747)
eliminating ambiguity.
2016-09-21 13:23:36 +08:00
1dd9e89eb0 *: write binlog to unix socket. (#1660)
support write binlog to a unix socket through grpc.
2016-09-21 13:09:03 +08:00
5cf2c28e5a store/tikv: add metrics. (#1741) 2016-09-21 10:32:53 +08:00
a6aa328b1c ddl: Add prometheus metrics (#1738)
* ddl: add metrcs
2016-09-21 08:36:29 +08:00
2456804b25 remove useless code. (#1745) 2016-09-20 21:42:57 +08:00
b8994bb139 *: Support stream aggregation. (#1735)
* *: Support stream aggregation.
2016-09-20 17:14:31 +08:00
1fca94703b mock-tikv: update to reflect the change of tikv (#1712)
Remove use of tipb.Row
2016-09-20 15:15:14 +08:00
92260111a6 vendor: update tipb, add DDL binlog type and pump (#1742) 2016-09-20 11:38:39 +08:00
6819e22c3c meta, structure: support snapshot meta. (#1739)
Snapshot meta will be used to load history schema, so we can
support history read with changed schema version.
2016-09-20 11:11:10 +08:00
ee9df58a80 distsql: add simple prometheus metric (#1737) 2016-09-20 10:39:12 +08:00
ade11fe9f4 *: support history read. (#1734)
* *: support history read.

This commit only handles the case when scheme does not change.
Use history schema will be supported in the following PR.
2016-09-19 15:37:30 +08:00
bff8f568ce Makefile: Move benchkv from default to dev (#1736) 2016-09-19 10:08:10 +08:00
d4c84b4bd2 prometheus push metrics (#1733) 2016-09-18 15:18:47 +08:00
6e44174643 store/tikv: backoff and retry for 'ServerIsBusy'. (#1732) 2016-09-18 13:46:48 +08:00
648bee53b2 add stream agg executor. (#1730) 2016-09-18 12:49:57 +08:00
5caa0f5e29 decide push down conditions during plan building phase. (#1731) 2016-09-18 10:35:52 +08:00
999fa025c7 server: Add metrics (#1729)
Add metrics for server package.
Update gitcookie.sh.
2016-09-17 11:45:57 +08:00
b84aed4925 tikv: Enable div (#1727) 2016-09-15 11:10:49 +08:00
f495cccea4 store/tikv: export LockResolver and TxnStatus. (#1722) 2016-09-14 15:23:00 +08:00
a02323047e *: remove go-metrics (#1728)
We use prometheus to do metrics jobs now.

It is useless now.
2016-09-14 15:07:41 +08:00
5037097f2f ast: improve test cover to 70% (#1723) 2016-09-14 14:49:02 +08:00
035ae3e515 *: Update kvproto to the latest version (#1726)
Make jenkins happy.
2016-09-14 11:02:10 +08:00
a82abef98f server: Add git hash into status api (#1724)
It is more convenient to get git hash from http api then from log file.
2016-09-14 10:32:29 +08:00
efa2db0b05 *: Rename xapi to distsql (#1725)
distsql is a more clear name.
2016-09-14 10:20:33 +08:00
b99521846f *: Make golint work and happy. (#1721) 2016-09-13 18:11:47 +08:00
f4c299cf48 ast: remove dead code (#1720) 2016-09-13 17:20:04 +08:00
3899c95613 store/tikv: set different timeout for tikv requests. (#1718) 2016-09-13 14:25:20 +08:00
4c9f291d97 ddl: add statistical log (#1719) 2016-09-13 14:11:48 +08:00
2d6e0e35b7 update pd-client. (#1717) 2016-09-13 10:52:30 +08:00
e800cf0ce2 ddl: Remove the EncodeRecordKey call and add more log message (#1715)
* ddl: update test
2016-09-12 16:38:08 +08:00
6dec14119a Fix typos (#1714) 2016-09-09 22:58:47 +08:00
099e8a9880 parser: Support show function status grammar (#1710)
Parsed but do nothing. Just make workbench happy.
2016-09-09 16:51:35 +08:00
dde36a141f *: Convert string to terror in DDL Job (#1699)
* *: convert string to terror
2016-09-09 09:58:40 +08:00
f87a342579 change equal filter rate to 1/200 (#1708) 2016-09-09 09:48:28 +08:00
d6f3869261 store/tikv: fix panic (#1705) 2016-09-08 18:07:19 +08:00
4c91df2b3b fix bug in constant propagation (#1707) 2016-09-08 17:04:31 +08:00