Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ddl: Support the operation of dropping multi-indexes in one statement #20457

Merged
merged 100 commits into from
Sep 2, 2021
Merged
Changes from 1 commit
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
f99363c
Merge pull request #1 from pingcap/master
ou-bing Sep 4, 2020
35c9f20
Merge pull request #2 from pingcap/master
ou-bing Sep 21, 2020
b6accd8
Merge pull request #3 from pingcap/master
ou-bing Sep 28, 2020
207e1b5
Merge pull request #4 from pingcap/master
ou-bing Oct 14, 2020
2f12751
add func:DropIndexes
ou-bing Oct 14, 2020
59af45c
add func: onDropIndexes
ou-bing Oct 14, 2020
05e91bb
call func: DropIndexes
ou-bing Oct 14, 2020
3fcdc88
add func: rollingbackDropIndex
ou-bing Oct 15, 2020
550a5c1
Replace onDropIndex with onDropIndexes
ou-bing Oct 15, 2020
d8b29d1
Replace rollingbackDropIndex with rollingbackDropIndexes
ou-bing Oct 15, 2020
0d21ae3
compatible DropIndex
ou-bing Oct 15, 2020
de673ef
remove func: onDropIndex
ou-bing Oct 15, 2020
6fdddca
remove func: rollingbackDropIndex
ou-bing Oct 16, 2020
acb1497
remove func: checkDropIndex
ou-bing Oct 16, 2020
7489ad4
update func: insertJobIntoDeleteRangeTable
ou-bing Oct 16, 2020
213089e
modify variable type
ou-bing Oct 17, 2020
b0301ce
update func: DropIndexes
ou-bing Oct 18, 2020
2035b28
update func: insertJobIntoDeleteRangeTable
ou-bing Oct 18, 2020
6211065
update func: checkDropIndexes
ou-bing Oct 18, 2020
716fa79
update func: insertJobIntoDeleteRangeTable
ou-bing Oct 21, 2020
68032f4
add test case: TestDropIndexes
ou-bing Oct 21, 2020
ff0d5d7
update func: onDropIndexes
ou-bing Oct 21, 2020
7eb7b13
refactor functions: DropIndex、DropIndexes
ou-bing Oct 22, 2020
28bf039
refactor func: checkDropIndexes
ou-bing Oct 23, 2020
d4cc82e
add conditional branch
ou-bing Oct 25, 2020
ec26868
add updateHiddenColumns
ou-bing Oct 25, 2020
1aef3d5
add test case
ou-bing Oct 26, 2020
7355982
add test case
ou-bing Oct 26, 2020
a72172a
fix drop primary key and index
ou-bing Oct 26, 2020
5cd8b49
add test case
ou-bing Oct 26, 2020
fcd5a23
Optimize the code
ou-bing Oct 30, 2020
9fbd625
Optimize the code
ou-bing Oct 30, 2020
385b557
Optimize the code
ou-bing Oct 30, 2020
a7ad554
Merge pull request #5 from pingcap/master
ou-bing Nov 2, 2020
f2576ff
Merge pull request #6 from pingcap/master
ou-bing Nov 5, 2020
ebcb76e
Merge branch 'master' into feature/dropping-multi-indexes
ou-bing Nov 5, 2020
4969290
Merge pull request #7 from pingcap/master
ou-bing Nov 9, 2020
0a53b5d
Merge branch 'master' into feature/dropping-multi-indexes
AilinKid Nov 12, 2020
644f4be
Merge branch 'master' into feature/dropping-multi-indexes
AilinKid Nov 12, 2020
c68d7fb
fix bug for drop indexes
ou-bing Nov 12, 2020
f90605c
Merge branch 'master' into feature/dropping-multi-indexes
AilinKid Nov 13, 2020
e56e489
Update logic for modifying job status
ou-bing Nov 13, 2020
2fa1745
Merge branch 'feature/dropping-multi-indexes' of https://github.com/o…
ou-bing Nov 13, 2020
f0f6a01
Merge branch 'master' into feature/dropping-multi-indexes
AilinKid Nov 20, 2020
3b3f3ac
Merge pull request #8 from pingcap/master
ou-bing Nov 20, 2020
0019e4f
Merge pull request #9 from pingcap/master
ou-bing Nov 24, 2020
d8c49c0
Merge pull request #10 from pingcap/master
ou-bing Dec 3, 2020
94c51dd
Merge pull request #11 from pingcap/master
ou-bing Dec 8, 2020
ef4669f
Merge pull request #12 from pingcap/master
ou-bing Dec 25, 2020
2a09406
Merge pull request #13 from pingcap/master
ou-bing Feb 24, 2021
2685390
Merge branch 'master' into feature/dropping-multi-indexes
ou-bing Feb 24, 2021
cca227f
typo
ou-bing Feb 24, 2021
3e75858
Merge pull request #14 from pingcap/master
ou-bing Mar 9, 2021
82a80f6
Merge branch 'master' into feature/dropping-multi-indexes
ou-bing Mar 9, 2021
65eb3fb
Resume the process of drop index
ou-bing Mar 9, 2021
9a32310
Resume the process of drop index
ou-bing Mar 10, 2021
a9cef9e
typo
ou-bing Mar 10, 2021
db891e1
Merge pull request #15 from pingcap/master
ou-bing Mar 16, 2021
3b83e20
Merge branch 'master' into feature/dropping-multi-indexes
ou-bing Mar 16, 2021
75fa9a0
The process of modifying drop
ou-bing Mar 19, 2021
aeccb27
Merge pull request #16 from pingcap/master
ou-bing Mar 19, 2021
71e0491
Merge branch 'master' into feature/dropping-multi-indexes
ou-bing Mar 19, 2021
25f9b9c
Optimize code
ou-bing Mar 19, 2021
ffcd5ba
Update test cases
ou-bing Mar 20, 2021
5f06638
Optimize code
ou-bing Mar 23, 2021
4ec2f31
typo
ou-bing Mar 23, 2021
7361b2c
typo
ou-bing Mar 23, 2021
0065255
Merge branch 'feature/dropping-multi-indexes' of https://github.com/o…
ou-bing Mar 23, 2021
76006c0
update test case
ou-bing Mar 28, 2021
36088b1
add func: checkNewIndexes
ou-bing Mar 30, 2021
bcac1fd
Remove rollback mechanism
ou-bing Mar 30, 2021
b24c9db
add para: ifExists
ou-bing Apr 5, 2021
d76d926
Update ddl/rollingback.go
ou-bing Apr 8, 2021
424c956
Update ddl/delete_range.go
ou-bing Apr 8, 2021
e7b376f
typo
ou-bing Apr 11, 2021
70a8b0f
remove func: getSchemaAndTable
ou-bing Apr 11, 2021
d7ad94c
Merge pull request #17 from pingcap/master
ou-bing Apr 20, 2021
c7cfcea
Merge branch 'master' into feature/dropping-multi-indexes
ou-bing Apr 20, 2021
760bfdc
add case to `IsJobRollbackable`
ou-bing Apr 21, 2021
ec8ee31
add test case
ou-bing Apr 21, 2021
62af0e8
add test case
ou-bing Apr 24, 2021
7483cdc
add test case
ou-bing Apr 27, 2021
581061c
Merge branch 'pingcap:master' into master
ou-bing May 7, 2021
8ce2b24
Merge branch 'master' into feature/dropping-multi-indexes
ou-bing May 7, 2021
69fd5bb
add test case
ou-bing May 10, 2021
cf9c379
Merge branch 'pingcap:master' into master
ou-bing Jun 19, 2021
237ab27
Merge branch 'master' into feature/dropping-multi-indexes
ou-bing Jun 19, 2021
6952ac7
Transform the judgment of "if exists"
ou-bing Jun 28, 2021
73f5c9e
An error is thrown when deleting an invalid index.
ou-bing Jul 11, 2021
6b6c1f4
Merge branch 'pingcap:master' into master
ou-bing Aug 23, 2021
904cb3f
Merge branch 'master' into feature/dropping-multi-indexes
ou-bing Aug 23, 2021
ee8c776
update code
ou-bing Aug 23, 2021
27f5db4
update code
ou-bing Aug 25, 2021
6556377
update code
ou-bing Aug 25, 2021
6e46603
Merge branch 'master' into feature/dropping-multi-indexes
zimulala Aug 26, 2021
681cd4a
Merge branch 'master' into feature/dropping-multi-indexes
ou-bing Aug 26, 2021
c3107e8
update func: isSameTypeMultiSpecs
ou-bing Sep 1, 2021
0c1bcd1
add test case
ou-bing Sep 1, 2021
e2b6933
Merge branch 'master' into feature/dropping-multi-indexes
ou-bing Sep 1, 2021
f96b07b
Merge branch 'master' into feature/dropping-multi-indexes
zimulala Sep 2, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge pull request #16 from pingcap/master
update
  • Loading branch information
ou-bing authored Mar 19, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit aeccb272e86921b60c0eb4e07e06f35caa5ccf6c

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.