Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
ddl: Support the operation of dropping multi-indexes in one statement #20457
Changes from 15 commits
f99363c
35c9f20
b6accd8
207e1b5
2f12751
59af45c
05e91bb
3fcdc88
550a5c1
d8b29d1
0d21ae3
de673ef
6fdddca
acb1497
7489ad4
213089e
b0301ce
2035b28
6211065
716fa79
68032f4
ff0d5d7
7eb7b13
28bf039
d4cc82e
ec26868
1aef3d5
7355982
a72172a
5cd8b49
fcd5a23
9fbd625
385b557
a7ad554
f2576ff
ebcb76e
4969290
0a53b5d
644f4be
c68d7fb
f90605c
e56e489
2fa1745
f0f6a01
3b3f3ac
0019e4f
d8c49c0
94c51dd
ef4669f
2a09406
2685390
cca227f
3e75858
82a80f6
65eb3fb
9a32310
a9cef9e
db891e1
3b83e20
75fa9a0
aeccb27
71e0491
25f9b9c
ffcd5ba
5f06638
4ec2f31
7361b2c
0065255
76006c0
36088b1
bcac1fd
b24c9db
d76d926
424c956
e7b376f
70a8b0f
d7ad94c
c7cfcea
760bfdc
ec8ee31
62af0e8
7483cdc
581061c
8ce2b24
69fd5bb
cf9c379
237ab27
6952ac7
73f5c9e
6b6c1f4
904cb3f
ee8c776
27f5db4
6556377
6e46603
681cd4a
c3107e8
0c1bcd1
e2b6933
f96b07b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about the case as follows:
We have two parallel DDL operations, one is
add index
and another isdrop indexes
. Assume we do these operations on tablet
withidx1
.idx2
)In the logic, if we haven't done
add index idx2
and we dodrop indexes idx1, idx2 with ifexists
after adding index. Then we don't appendindexNames
andifExists
. At last, we dropidx1
and don't dropidx2
.I think we'd better put it to
onDropIndexes
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.