Commit Graph

306 Commits

Author SHA1 Message Date
d17c49df80 *: update pd-client (#1505) 2016-07-27 16:07:41 +08:00
66198e6ce4 store/tikv: fix an unlock bug (#1502) 2016-07-25 17:42:56 +08:00
7ea65164c8 tikv: Enable xapi for avg/max/min (#1487) 2016-07-22 16:52:00 +08:00
c66576ba05 Support aggregate push down in new executor (#1483)
Support aggregate push down for NewXSeelctTableExec.
2016-07-22 13:15:41 +08:00
deac77f39f store/tikv: use defer to cleanup keys. (#1474) 2016-07-20 13:13:57 +08:00
945fd1d371 *: add error trace (#1477) 2016-07-20 11:50:33 +08:00
c4bf16d888 tikv: Enable Plus and Sum for xapi. (#1445) 2016-07-18 10:51:32 +08:00
bd10f50e26 localstore xapi max/min (#1455)
Support Max and Min for localstore xapi.
2016-07-17 17:44:59 +08:00
fe6386706e *: Update pd/kvproto vendor and change mock-pd interface (#1456) 2016-07-15 22:38:50 +08:00
7c3c45a83c *: Support avg for localstore xapi (#1446) 2016-07-14 12:34:58 +08:00
dbf9b970f1 localstore: Check argument length for sum function. (#1428)
Address comment
2016-07-12 12:51:56 +08:00
ca10e4e127 store/tikv: remove radundant Mutex. (#1424) 2016-07-12 10:15:14 +08:00
61ada26dc4 Support sum in xapi. (#1409) 2016-07-08 19:59:13 +08:00
8edbf557a2 *: remove MemBuffer cache and Release method. (#1411) 2016-07-08 11:57:02 +08:00
c2d4337c44 kv: update goleveldb/memdb repo which remove unnecessary rand.NewSource (#1410) 2016-07-07 17:45:00 +08:00
4eca9cc825 *: fix data races detected by go test -race (#1407) 2016-07-07 15:35:40 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
cad94acb54 Store row data in single kv pair (#1347) 2016-06-28 11:15:09 +08:00
19a33da22b store/tikv: fix CI failure. (#1353) 2016-06-27 13:36:47 +08:00
a7ae9d34cf store/tikv: conn should be closed if error occurs. (#1351) 2016-06-26 15:12:29 +08:00
477b90849a store/tikv: cleanup tests, reduce tests time. (#1346) 2016-06-24 17:07:31 +08:00
a9aad12ba8 *: move tablecodec package out of xapi. (#1335) 2016-06-22 13:32:26 +08:00
1a706853ed Rename err2 to err1 where possible (#1331) 2016-06-19 08:33:33 +08:00
6c0efb69bc store/tikv: update conn pool. (#1328) 2016-06-17 14:31:58 +08:00
39dee36f0b tikv: Enable distributed agg function FirstRow (#1319) 2016-06-14 15:10:13 +08:00
5b2794904b *: Support xapi first row aggregate function in local store. (#1317) 2016-06-14 13:01:25 +08:00
ce2378bddf *: Refactor dist-agg partial result data layout (#1314)
Make result more compact.
2016-06-13 14:52:05 +08:00
58ef9b776d *: Fix select with groupby but without aggregate function bug (#1315)
If there is groupby clause but no aggregate function, we should also return one row for each group.
2016-06-13 14:17:13 +08:00
004500171e *: Refactor datum arithmetic codes and support Add/Div in xeval. (#1311)
Prepare for aggregate function sum/avg.
2016-06-13 11:24:07 +08:00
e953dee8bb *: Enable distributed count with TiKV (#1312)
Push down count to TiKV
2016-06-13 10:09:09 +08:00
df13833cb9 store/tikv: fix async commit issue. (#1305) 2016-06-08 21:28:58 +08:00
aebe108c52 store/tikv: support parallel && retry for batchGet. (#1304)
* store/tikv: support parallel && retry for batchGet.
2016-06-08 17:34:35 +08:00
302295ecf5 store/tikv: add retry for tso and adjust configs. (#1302)
* store/tikv: add retry for tso and adjust configs.
2016-06-08 15:27:47 +08:00
5846fc3ee0 store/tikv: parallel commit. (#1290)
* store/tikv: parallel commit.

* store/tikv: commit && cleanup asynchronously.
2016-06-08 15:19:08 +08:00
e3597b6548 Add Datum.IsNull() fucntion (#1298)
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
6cefb905e1 *: support distributed aggregate function count (#1289)
support distributed aggregate function count and groupby on local_region
2016-06-07 16:19:48 +08:00
7330427b19 store/tikv: use rbtree for cache region search (#1285)
* store/tikv: speed up GetRegion

* store/tikv: use rbtree for region cache.
2016-06-04 15:12:29 +08:00
1b21901cec *: Add GoReportCard (#1267)
1. Add goreportcard.
2. Tiny cleanup.
2016-05-30 11:38:59 +08:00
d242cc111e store/tikv: add isolation test (#1261)
* store/tikv: add isolation test
2016-05-27 10:47:20 +08:00
6bbcce2a95 store/tikv: add pd retry, add tid in commit logs (#1255)
* store/tikv: add retry for PD RPC

* store/tikv: add tid in log
2016-05-26 10:50:18 +08:00
809e8154bb *: remove hbase store (#1256) 2016-05-25 16:03:03 +08:00
965e704412 executor: makes dirty table supports XAPI. (#1245) 2016-05-24 10:53:17 +08:00
e22d8d06da *: xapi push down mysql.Duration and mysql.Decimal. (#1243) 2016-05-20 18:30:30 +08:00
bb02c4a4ae domain: Unify lease (#1239)
* domain: unify lease

* domain: tiny clean up


* *: give mock tikv store a uuid
2016-05-19 11:36:09 +08:00
0029d427f4 store/tikv: add batch cleanup, update commit response (#1235) 2016-05-19 00:42:17 +08:00
36c3e801b1 store/tikv: use id+version to identify Region. (#1241) 2016-05-18 16:16:44 +08:00
eb5e0bade1 *: switch on xapi support for duration and decimal type. (#1240) 2016-05-18 11:47:23 +08:00
cf6d1f5f97 *: do not set null column value to save storage space. (#1236) 2016-05-17 19:14:28 +08:00
602da73640 store/tikv/mock-tikv: add coprocessor support. (#1230)
* store/tikv/mock-tikv: add coprocessor support.
2016-05-17 18:19:51 +08:00
f8d7a3c5ef *: Fix unsigned int as PKColumn bug (#1238)
* *: Fix unsigned int as PKColumn bug
2016-05-17 14:41:11 +08:00