Commit Graph

8026 Commits

Author SHA1 Message Date
ce0c9f373b *: add schema version to the log (#6527) 2018-05-18 14:01:47 +08:00
8a2a20e181 store/tikv: more friendly error log for WriteConflict (#6457) 2018-05-18 13:47:24 +08:00
6f2ccfc7f6 ddl: check auto_increment column for shard_row_id_bits statements. (#6572) 2018-05-18 13:13:09 +08:00
d53e7d6873 Makefile: fix 'errcheck' after github.com/kisielk/errcheck is updated (#6574) 2018-05-18 13:01:58 +08:00
0b1b523a81 *:move explain_test to tidb repository (#6555) 2018-05-17 23:55:15 +08:00
1931bd3919 plan: fix bug in prepare statement. (#6539) 2018-05-17 17:34:56 +08:00
b0fc67880c *: avoid passing 'for update' option via context in txn.Commit (#6529)
Pass option in context.Context make the code vulnerable, we should
avoid this style.
2018-05-17 01:56:25 -05:00
a586a3ac3f tables: close RecordSet after Next (#6566) 2018-05-16 22:56:33 +08:00
dd4fef2e04 tidb-server: don't bind graceful shutdown to SIGTERM (#6562)
SIGTERM is the default kill command signal, it's better to bind it
with normal exit rather than graceful shutdown.
2018-05-15 20:16:31 -05:00
c0dea7e936 *: move leak check from each test to suite (#6541) 2018-05-15 20:05:03 +08:00
3cf85bf0d7 store/tikv: log slow processing and waiting cop tasks separately with different labels (#6553) 2018-05-15 16:48:22 +08:00
e17f7fb859 store/tikv: Add warning for tikv delete range API (#6551) 2018-05-15 02:47:59 -05:00
cd950c11e9 binloginfo: fix CI in unit test TestMaxRecvSize (#6554) 2018-05-15 02:29:12 -05:00
fecd91a530 server: do not log on handshake error (#6552)
Load balancers connects to TiDB server and close immediately, we don't need to log them.
2018-05-15 13:45:11 +08:00
11e7f5bf97 binloginfo: fix a data race on global.Config() in the unit test (#6548) 2018-05-14 22:19:11 -05:00
3b93db8e84 ddl: add test for duplicate update (#6258)
* add test for duplicate update
2018-05-14 22:56:02 +08:00
5bddaf6cc6 vendor: upgrade grpc to 1.12.0 (#6545) 2018-05-14 21:17:20 +08:00
10e57a5cef *: save gc_delete_range items that is done in another table instead of deleting them. (#6512) 2018-05-14 07:09:15 -05:00
f0e98c75b5 ddl: add callback log (#6549) 2018-05-14 17:19:44 +08:00
39e1db6b7b parser: fix the compatibility problem of UNION statement (#6335) 2018-05-14 15:22:49 +08:00
5c2d21eab4 *: remove function "NewChunk" (#6524) 2018-05-14 13:43:19 +08:00
b3bb5e8c8f *: support warnings when using coprocessor streaming (#6544) 2018-05-13 22:10:58 -05:00
677176ba42 ddl:enhance ddl unit tests in tidb (#6502)
Add more test cases to improvement test coverage.
2018-05-14 10:29:09 +08:00
7f2b3bd899 *: Add an option to stop writting binlog when TiDB meets binlog error (#6503)
Add an option to stop writting binlog when meets binlog error
Provide http interface to recover binlog service
2018-05-11 09:50:15 -05:00
2fe3581819 plan: resolve indices for apply schema (#6540) 2018-05-11 22:02:12 +08:00
3a76adf82a session: tiny update leak check for some test function (#6526) 2018-05-11 08:46:45 -05:00
91d90e6cd0 update logrus (#6536) 2018-05-11 13:14:55 +08:00
d0107bc1d8 ddl: fix bug that update handle failed before adding table indics (#6523) 2018-05-10 20:41:30 +08:00
3f9c1890fc plan: prepare possible property for logical Sort/TopN/Projection (#6485) 2018-05-10 20:32:03 +08:00
31ffcec0d3 store/tikv: copIteratorTaskSender is not initialized properly (#6514) 2018-05-10 20:14:19 +08:00
84b08bf2f6 http: revert log_level change (#6525)
log level is not accessed atomically in this version, cause race issue.
2018-05-10 16:36:34 +08:00
57c010148a update default analyze ratio and pseudo estimate ratio (#6517)
If pseudo estimate ratio is greater or equal to analyze ratio, there would be a gap time the
table use pseudo stats to build plan.
2018-05-09 20:18:51 +08:00
8e59d40831 sever: add HTTP API to change log level dynamically. (#6513) 2018-05-09 19:31:01 +08:00
b175f27a0a executor: set last insert id in the duplicated update statement (#6345) 2018-05-09 15:40:35 +08:00
8562ff4712 ddl: fix bug when add index meet math.MaxInt64 handle. (#6481) 2018-05-09 02:13:38 -05:00
3db7594fa5 *: Refine error message about "Out of range value for column" (#6334) 2018-05-09 15:00:52 +08:00
6248a74d6f plan: refactor errors (#6377) 2018-05-09 13:07:21 +08:00
5f2b16192e stats: fix query feedback bugs (#6444) 2018-05-09 12:27:32 +08:00
7ea70d5433 statistics: uniform the calculation of pseudo stats. (#6483) 2018-05-09 11:31:06 +08:00
877d0d4d3d *: fix a bug occurred when insert into time column (#6451)
* *: fix a bug when insert decimal or decimal-like string into time col
2018-05-09 10:52:30 +08:00
96ac1c7a3c session: add an error type for session (#6496)
* add an error type for session
2018-05-08 21:19:50 +08:00
8d345cd09a *: open auto analyze and stats feedback by default (#6500) 2018-05-08 19:18:50 +08:00
34f0764f38 ddl: handle parallel rename table (#6462)
* ddl: handle parallel rename table
2018-05-08 17:28:20 +08:00
60e7a50136 executor: fix a wrong result of limit operator when offset is a multiple of MaxChunkSize (#6498) 2018-05-08 16:16:31 +08:00
b4d6d04a2a store/tikv: avoid using Backoffer as context.Context (#6470) 2018-05-08 11:49:40 +08:00
33ca87f31e metric: remove useless TiKVCoprocessorCounter from codebase (#6492) 2018-05-08 11:24:20 +08:00
6c94805c7a store/tikv: tiny optimize when opentracing is not enabled (#6494) 2018-05-08 10:10:53 +08:00
e6c720a731 store/tikv: rollback all keys when prewrite fail. (#6472) 2018-05-08 09:23:29 +08:00
5ee28538fe session: make unit test TestErrorRollback more stable (#6486) 2018-05-08 09:06:41 +08:00
702f210473 make tidb_opt_insubquery_unfold global (#6482) 2018-05-07 21:15:08 +08:00