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

Indexes that have been dropped cannot be recreated #3312

Closed
czpmango opened this issue Nov 15, 2021 · 1 comment · Fixed by #3315
Closed

Indexes that have been dropped cannot be recreated #3312

czpmango opened this issue Nov 15, 2021 · 1 comment · Fixed by #3315
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@czpmango
Copy link
Contributor

czpmango commented Nov 15, 2021

Describe the bug (required)
Indexes that have been dropped cannot be recreated(possibly due to the existence check mechanism for composite indexes)

Your Environments (required)
Version: v2.0.1/.../v2.6.0

How To Reproduce(required)

create space test(vid_type=Fixed_string(30));
use test;
create tag recinfo(name string,tm bool,id int);
insert vertex recinfo(name,tm,id) values "r1":("czp",true,1);
create tag index recinfo_index on recinfo();
create tag index recinfo_name_index on recinfo(name(8));
create tag index recinfo_multi_index on recinfo(name(8),tm,id);
show tag indexes;
drop tag index recinfo_name_index;
create tag index recinfo_name2_index on recinfo(name(8));

Expected behavior
Allow index recreation.

Additional context
Explicitly specifying index names should be disabled.

@czpmango czpmango added the type/bug Type: something is unexpected label Nov 15, 2021
@czpmango
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants