8369ed2ffc
ddl, util: Handle default values for generating column expressions when adding an index ( #9371 )
2019-02-27 12:59:18 +08:00
18449d777a
*: merge statement buffer when BatchGetValues ( #9374 )
2019-02-22 11:06:58 +08:00
33a961decf
ddl: fix canceling model.ActionRebaseAutoID and model.ActionShardRowID ddl jobs ( #9226 )
2019-02-18 11:34:13 +08:00
c8554f826d
ddl: fix a bug when adding an index to a generated column with an expression error ( #9216 )
2019-02-12 17:47:48 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
858b200e9a
variable: remove tidb_ddl_reorg_worker_cnt and tidb_ddl_reorg_batch_size session level. ( #8941 )
2019-01-10 15:12:22 +08:00
da31a461e7
ddl: fix cancel rename index ddl error ( #8610 )
2019-01-08 19:29:47 +08:00
0147e0cece
ddl: refine cancel/rollback ddl job code. ( #8858 )
2019-01-03 17:11:14 +08:00
b8b3a7fc78
ddl: fix can't cancel a job when add index meets panic ( #8621 )
2019-01-02 17:38:44 +08:00
d20bf28519
ddl: dynamic adjust add index worker number. ( #8295 )
2018-12-24 11:00:36 +08:00
1d3ecdf664
*: fix misspelled words ( #8722 )
2018-12-18 11:48:38 +08:00
d3b92e0288
ddl: fix panic when add index of generated column. ( #8620 )
2018-12-11 18:08:18 +08:00
6e2d6c7aa7
ddl: fix cancel drop index error ( #8504 )
2018-12-07 23:29:23 +08:00
e478be7914
ddl: add ddl_reorg_batch_size variable to control ddl worker batch size and enlarge default batch size. ( #8365 )
2018-12-04 19:07:12 +08:00
d301c16e0e
ddl: fix a bug that cancel add index ddl job when workers are not run, which cause tidb ddl hang up ( #8171 )
2018-11-28 17:10:55 +08:00
09c6bff91c
*: Make use of the upperBound of ticlient's kv_scan interface to ensure no overbound scan will happen ( #8081 )
2018-11-09 18:49:00 +08:00
d125958380
tikvclient: Add endKey param to Scanner ( #8178 )
2018-11-08 18:21:40 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
fd71236e41
ddl: fix alter add index on virtual column bug ( #7575 )
2018-10-10 13:50:20 +08:00
4a444efa9a
ddl: fix add index on timestamp column bug ( #7724 )
2018-09-20 15:49:10 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
5dc1dbddfa
ddl: a little refactor in the reorganization stage of adding indices ( #7598 )
2018-09-06 16:03:31 +08:00
65ecdff622
ddl:support add index rollback of partitioned table ( #7437 )
2018-08-31 11:46:00 +08:00
8199f60492
ddl:support drop index for the partitioned table. ( #7306 )
2018-08-17 14:14:19 +08:00
82a6c1085c
*: introduce the concept of physical ID, code refactory ( #7374 )
2018-08-16 10:33:24 +08:00
359df6ecc2
variable, ddl: add session variable 'tidb_ddl_reorg_priority' to set operation priority of ddl reorg ( #7116 )
2018-08-08 17:16:05 +08:00
326baacb93
ddl: batch check the constrains when we add a unique-index. ( #7132 )
2018-08-06 20:39:31 +08:00
5944432c0d
ddl: Refactor add index reorganization related code ( #7184 )
2018-08-01 11:17:49 +08:00
0fa27a4619
*: fix tests failed on Go 1.11beta ( #7178 )
...
Many of the failed tests are due to misuse of format placeholder.
2018-07-30 11:36:33 +08:00
6815dec5b3
ddl: implement reorganize for table partition when adding index ( #6814 )
...
* Handle DDL reorganization for table partitions one by one
* Reorganize metadata changed from handle to startHandle, endHandle, partitionID
2018-07-27 17:49:21 +08:00
85cd2463bc
ddl: fix a bug that we miss adding last handle index in some case. ( #7142 )
2018-07-25 18:52:35 +08:00
5f7abc84fe
*: fix panic that upgrade from old version TiDB. ( #7136 )
2018-07-24 18:59:29 +08:00
b092ff93f4
ddl: retrive range from PD everytime when batch backfilling indices ( #6908 )
2018-07-23 17:18:20 +08:00
48a42fe424
tables: fix prefix index, when the charset is utf8, truncate it from runes ( #7109 )
2018-07-19 23:44:56 +08:00
44e34bd304
*: index refactor for table partition ( #7062 )
2018-07-17 14:01:50 +08:00
43f0c1ee70
ddl: add slow operations log to add indices, make trouble shooting easier. ( #7060 )
2018-07-17 09:42:58 +08:00
bdfa5eef19
ddl: make added count correct in adding index ( #6980 )
2018-07-05 11:59:35 +08:00
6851878b9b
*: add session var 'tidb_ddl_reorg_worker_cnt' to control ddl reorg workers count ( #6441 )
...
* *: add session var 'tidb_ddl_reorg_worker_cnt' to control ddl reorg workers count
2018-06-27 22:36:18 +08:00
41f8ac1952
ddl: fix gofail data race ( #6904 )
2018-06-26 00:03:21 +08:00
dd82195a40
ddl: set correct startHandle when add indices meets some errors ( #6897 )
2018-06-25 19:36:10 +08:00
42675d97fb
ddl: adjust the structure of ddl ( #6449 )
2018-06-14 17:13:50 +08:00
f56e130eed
ddl, parser: support 'ALTER TABLE RENAME KEY TO' syntax ( #6475 )
2018-06-07 13:32:17 +08:00
8c7f5dcb3e
ddl: find max row id of the table that is backfilling indices, and just backfill indices in range [startHandle, maxRowID]. ( #6518 )
...
* ddl: fix bug when add index meet math.MaxInt64 handle.
2018-06-06 15:04:54 +08:00
4607251d23
metrics:fix add index duration bucket dosen't work ( #6478 )
...
* fix add index duration bucket dosen't work
2018-05-28 10:33:00 +08:00
a4715d5d75
*: unflatten datum in checkIndexAndRecord, to fix admin check table false alarm ( #6625 )
2018-05-24 15:56:02 +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
d0107bc1d8
ddl: fix bug that update handle failed before adding table indics ( #6523 )
2018-05-10 20:41:30 +08:00
8562ff4712
ddl: fix bug when add index meet math.MaxInt64 handle. ( #6481 )
2018-05-09 02:13:38 -05:00
68496aa5f4
ddl: update ddl add index progress timely ( #6453 )
2018-05-04 15:38:23 +08:00