Commit Graph

1683 Commits

Author SHA1 Message Date
28d49bdb69 Merge pull request #635 from pingcap/c4pt0r/retryable-error
kv: add retryable err
2015-11-24 19:24:03 +08:00
cd3d3cd6ae kv: address comments 2015-11-24 19:18:53 +08:00
36f100ece4 *: address review comments 2015-11-24 19:14:08 +08:00
c408e81e71 kv: add retryable err
kv store returns ErrRetryable to tell SQL layer it's safe to retry
2015-11-24 19:12:40 +08:00
1d9169c651 Merge pull request #629 from pingcap/disksing/update-themis
hbase: minor changes for go-themis updates.
2015-11-24 13:48:03 +08:00
cd311fb947 *: add comment. 2015-11-24 13:22:51 +08:00
3287656e3c hbase: minor changes for go-themis updates. 2015-11-24 11:00:18 +08:00
f650c0fd0d Merge pull request #624 from pingcap/zimuxia/autocommit
*: Fix  autocommit
2015-11-24 10:50:35 +08:00
xia
bad75a1693 *: update comments 2015-11-24 10:37:42 +08:00
xia
cf5833e6a3 *: add test 2015-11-23 20:54:56 +08:00
xia
7f2eaa7a86 *: fix disable the default autocommit mode after the second start 2015-11-23 20:52:26 +08:00
d2c822a4a5 Merge pull request #621 from pingcap/ngaut/go-vet-happy
*: Make go vet --shadow happy
2015-11-23 13:28:18 +08:00
e7b890ed62 Merge pull request #619 from pingcap/shenli/fix-vet-error
*: Fix go vet errors
2015-11-23 13:27:24 +08:00
c130881369 *: Make go vet happy 2015-11-23 13:24:10 +08:00
d8ae7c1e36 *: Make go vet happy 2015-11-23 13:19:12 +08:00
01a7171220 *: Make go vet --shadow happy 2015-11-23 13:02:56 +08:00
8be76283f1 *: Fix go vet errors
Fix following errors:
store/localstore/isolation_test.go:80: declaration of err shadows
declaration at store/localstore/isolation_test.go:59:
store/localstore/isolation_test.go:98: declaration of err shadows
declaration at store/localstore/isolation_test.go:59:
2015-11-23 10:28:29 +08:00
e48289670a Merge pull request #618 from pingcap/siddontang/multi-key-test
localstore: add multi key inc test.
2015-11-23 09:29:41 +08:00
f7866982ef localstore: Address comment. 2015-11-23 08:32:02 +08:00
793b6c1ee2 localstore: add multi key inc test. 2015-11-22 14:42:54 +08:00
d53371af7e Merge pull request #616 from pingcap/goroutine/fix-phantom-read
Fix phantom read
2015-11-22 12:44:36 +08:00
4fbf6c1049 Address comments 2015-11-22 12:36:20 +08:00
d3bfec6eca Tiny clean up 2015-11-22 12:23:04 +08:00
d8c26fd328 Add isolation tests 2015-11-22 12:21:03 +08:00
58ad162d34 localstore: Lock provider when commit transaction
Fix phantom read
2015-11-22 12:18:12 +08:00
f290af556c Merge pull request #615 from hhkbp2/fix-issue-#612
Fix issue #612
2015-11-21 20:58:42 +08:00
296d4087bf *: add setting for PATH in Makefile to avoid manual setup
Improve convenience.
2015-11-21 12:06:45 +08:00
11dbfd8e94 Merge pull request #608 from pingcap/shenli/split-tidb_test
tidb: Move some test from tidb_test.go to session_test.go
2015-11-20 19:16:23 +08:00
ab9bcaaa3e Merge pull request #596 from pingcap/disksing/insert-optimize
kv: support delayed check, optimize batch insert
2015-11-20 12:40:36 +08:00
90d75b12f4 Merge pull request #610 from pingcap/qiuyesuifeng/godep-go-metrics
Add go-metrics  godep.
2015-11-19 20:38:49 +08:00
90755f2024 godep: update godep json. 2015-11-19 20:27:55 +08:00
23aa64c2aa *: add go-metrics godep. 2015-11-19 20:26:46 +08:00
ee1d1d47c2 Merge pull request #607 from pingcap/goroutine/fix-memory-leak
kv: decrease buffer size and fix memory leak
2015-11-19 15:28:40 +08:00
41724c43fa Merge remote-tracking branch 'origin/master' into shenli/split-tidi_test 2015-11-19 15:23:39 +08:00
7a6a71b753 Merge pull request #604 from pingcap/disksing/tso
hbase: add remote tso support
2015-11-19 15:19:33 +08:00
c46157498a *: address comment 2015-11-19 14:58:13 +08:00
afc062d32e *: address comment 2015-11-19 14:48:20 +08:00
deca6ea580 *: fix CI failure 2015-11-19 14:38:13 +08:00
13c2bda997 tidb: Fix build error 2015-11-19 14:38:04 +08:00
d4b346b1d8 tidb: Move some test from tidb_test.go to session_test.go
tidb_test.go is too large now.
2015-11-19 14:31:29 +08:00
346a271182 kv: decrease buffer size and fix memory leak 2015-11-19 14:22:08 +08:00
bdf08bfd17 *: address comments 2015-11-19 13:52:41 +08:00
70666af1c5 *: address comments 2015-11-19 12:04:05 +08:00
5821277d13 Merge pull request #606 from pingcap/siddontang/errorequals-checker
terror: add helper checker to simplify error check in test.
2015-11-19 11:37:26 +08:00
7b666d187a terror: add helper checker to simplify error check in test. 2015-11-19 10:24:49 +08:00
7c16e5fa5a Merge pull request #605 from pingcap/coocood/session-autocommit
tidb: set session variable when load from global variable.
2015-11-18 21:33:53 +08:00
f1aa215808 tidb: set session variable when load from global variable.
When autocommit is not set by session, we use global variable.
Currently it is loaded in every statement, which means we execute a select statement for every statements.
The behaviour not only hurts performance, but also is wrong.
In MySQL, autocommit is determined when session is created, and it will not be affected when global variable updates.

Also added a basic benchmark method to test basic performace test.
2015-11-18 19:30:00 +08:00
549dc3b4bd hbase: add remote tso support 2015-11-18 19:26:13 +08:00
5491086695 Merge pull request #601 from pingcap/goroutine/clean-up-compactor
compactor: Remove unused parameter
2015-11-18 14:15:32 +08:00
ff79cea65e compactor: Remove unused parameter 2015-11-18 11:44:28 +08:00