94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
efec5c3625
ddl: add some debug log for unstable test TestTruncatePartitionAndDropTable ( #28014 )
2021-09-14 14:36:40 +08:00
b35c7bc6e4
ddl: Support the operation of dropping multi-indexes in one statement ( #20457 )
2021-09-02 15:14:15 +08:00
7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +08:00
4684a7f40e
ddl: support drop table for label rule ( #26630 )
2021-08-09 13:59:14 +08:00
01a87e3257
*: solve cloud tikv disk full problem ( #26302 )
2021-08-08 13:21:13 +08:00
2b192e3149
topsql: refine collect information for DDL and internal SQL ( #26047 )
2021-07-15 16:13:36 +08:00
8fb29eb17e
kv: move TxnScope into kv ( #24715 )
2021-05-19 20:01:42 +08:00
dedaabb800
ddl: migrate part of ddl package code from Execute/ExecRestricted to safe API (2) ( #22729 )
2021-02-05 18:05:45 +08:00
68aaa2fa7e
*: fix auto-id allocate tracing ( #22371 )
2021-01-13 12:19:58 +08:00
22e5ebd310
*: use the Local TSO to update ForUpdateTS ( #21490 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com >
2020-12-04 13:41:47 +08:00
b7364a317b
*: add rollbacking logic for column type change ( #19531 )
2020-09-15 17:23:00 +08:00
92bf05fb09
ddl: Drop column with single value index ( #18852 )
...
* let drop column can drop index which column only have single-value index.
* Fix typo
* Remove unused codes and fix delete range when drop column with single-value index
* Let drop columns can delete single value index related columns
* Refactor unit test
* Add index exists test on drop composite index
* Add invisible index test and more result check on drop column
* Fix typo and refactor indexInfoContains
* Update comments
* Remove unnecessary code
* Remove unused codes
* Fix typo
* Remove unused code and fix comments
* Refactor, remove useless codes
Co-authored-by: bb7133 <bb7133@gmail.com >
Co-authored-by: Arenatlx <ailinsilence4@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-12 15:01:47 +08:00
a74b258aea
ddl: change drop partition and truncate partition's job args to support multi partition id array ( #18419 )
2020-07-10 17:42:47 +08:00
f82bd008d4
ddl: correct the usage of json.Unmarshal in job.DecodeArgs ( #17857 )
...
* ddl: correct the usage of json.Unmarshal in job.DecodeArgs
* update parser
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-06-10 11:00:54 +08:00
c70ed2a22c
ddl: speed up the operation of "drop database" ( #17009 )
2020-05-09 16:30:25 +08:00
9bd7a6de90
*: support flashback dropped/truncated table ( #13109 )
2019-12-03 19:49:48 +08:00
df1baca19f
*: support adding/dropping the primary key by a configuration ( #13229 )
2019-11-15 01:10:51 +08:00
6d51ad33fd
*: Optimize struct memory usage by adjust field order ( #11629 )
2019-08-13 17:20:53 +08:00
c8d1ff7ca6
*: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' ( #10866 )
2019-06-21 19:13:31 +08:00
0cafb707ee
ddl: using pingcap/log and unify the log format ( #9659 )
2019-03-19 14:54:42 +08:00
365264cd21
ddl: add restore deleted table ( #7937 )
2019-01-16 15:37:33 +08:00
0840a5e478
ddl: new only one delRange and sessionPool in ddl ( #8522 )
2018-12-27 14:57:47 +08:00
e03ef6099c
ddl: support alter table .. truncate partition ( #8624 )
2018-12-11 13:52:57 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +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
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
56f5ff8e09
Use TSO instead of seconds in gc_delete_range table ( #7610 )
2018-09-05 18:51:18 +08:00
55ca8512fc
ddl: worker add ctxPool field to make executing sql in ddl package possible. ( #7447 )
...
* ddl: worker add ctxPool field to make executing sql in ddl package possible.
2018-09-04 17:56:50 +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
25f1e808f5
Use the revive linter. ( #7197 )
2018-07-31 13:19:09 +08:00
46e5ff3f41
ddl: support truncate partitioned table and drop partitioned table ( #7036 )
2018-07-23 13:30:36 +08:00
cc722546ef
ddl:support alter table drop partition ( #6460 )
...
support alter table drop partition
2018-07-11 18:26:19 +08:00
42675d97fb
ddl: adjust the structure of ddl ( #6449 )
2018-06-14 17:13:50 +08:00
9382be808f
ddl: wait for 2*lease when finishing delete-reorg in a rollback operation ( #6226 )
2018-04-08 23:57:56 +08:00
fddaf75a32
ddl: delete ranges when rolling back 'add index' ( #6188 )
2018-04-02 16:54:08 +08:00
e1121814d2
*: don't import golang.org/x/net/context as goctx alias ( #5895 )
...
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
4e1a114e68
*: move package context to sessionctx ( #5890 )
2018-02-22 18:03:38 +08:00
8b149c3323
Prealloc / collides with package name ( #5560 )
2018-01-05 19:15:54 +08:00
f1e89cde19
*: use lower-case of github.com/sirupsen/logrus ( #5400 )
...
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus
* vendor: update pd
* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
0977fd07e6
*: begin opentracing from dispatch() and change interface to Execute(ctx, sql) ( #5027 )
2017-11-07 02:52:15 -06:00
3e1d036336
*: log the caller of "terror.Log()" ( #4729 )
2017-10-10 11:26:43 +08:00
ee353996d4
ddl, store: move the ddl dependency from tikv pkg. ( #4720 )
2017-10-09 15:35:42 +08:00
eb8df3519a
*: prepare to enforce errcheck, part1 ( #4670 )
2017-09-30 16:23:37 +08:00
88e1666ac6
*: change the log package to logrus ( #4452 )
2017-09-08 00:45:07 -05:00