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

can not create index after dropped #2842

Closed
czpmango opened this issue Sep 10, 2021 · 0 comments
Closed

can not create index after dropped #2842

czpmango opened this issue Sep 10, 2021 · 0 comments
Assignees
Labels
need info Solution: need more information (ex. can't reproduce) type/bug Type: something is unexpected
Milestone

Comments

@czpmango
Copy link
Contributor

czpmango commented Sep 10, 2021

Note: This issue is not stable recurrence.

test:

czp@nebula) [(none)]> use test
Execution succeeded (time spent 1171/1437 us)
Fri, 10 Sep 2021 07:29:21 UTC

(czp@nebula) [test]> create tag V()
Execution succeeded (time spent 1219/1543 us)
Fri, 10 Sep 2021 07:29:32 UTC

(czp@nebula) [test]> insert vertex V() values "1":()
Execution succeeded (time spent 4392/5917 us)
Fri, 10 Sep 2021 07:29:52 UTC

(czp@nebula) [test]> insert vertex V() values "2":()
Execution succeeded (time spent 1635/2048 us)
Fri, 10 Sep 2021 07:29:56 UTC

(czp@nebula) [test]> create edge E(rank int)
Execution succeeded (time spent 1756/2155 us)
Fri, 10 Sep 2021 07:30:16 UTC

(czp@nebula) [test]> insert edge E(rank) values "1"->"2":(9)
Execution succeeded (time spent 1394/1799 us)
Fri, 10 Sep 2021 07:30:35 UTC

(czp@nebula) [test]> create edge index index1 on E()
Execution succeeded (time spent 1503/1811 us)

Fri, 10 Sep 2021 07:30:52 UTC

(czp@nebula) [test]> rebuild edge index index1
+------------+
| New Job Id |
+------------+
| 32         |
+------------+
Got 1 rows (time spent 1511/1896 us)
Fri, 10 Sep 2021 07:31:03 UTC

(czp@nebula) [test]> create edge index index2 on E(rank)
Execution succeeded (time spent 1185/1540 us)
Fri, 10 Sep 2021 07:31:11 UTC

(czp@nebula) [test]> rebuild edge index index2
[ERROR (-1009)]: SemanticError: Index index2 not found in space test
Fri, 10 Sep 2021 07:31:16 UTC

(czp@nebula) [test]> rebuild edge index index2
+------------+
| New Job Id |
+------------+
| 34         |
+------------+
Got 1 rows (time spent 909/1186 us)

(czp@nebula) [test]> match (v1)-[e:E]->(v2) return v2
+------------+
| v2         |
+------------+
| ("2" :V{}) |
+------------+
Got 1 rows (time spent 4556/4873 us)

(czp@nebula) [test]> drop edge index index1
Execution succeeded (time spent 1193/1494 us)

(czp@nebula) [test]> match (v1)-[e:E]->(v2) return v2
+------------+
| v2         |
+------------+
| ("2" :V{}) |
+------------+
Got 1 rows (time spent 2879/3168 us)

(czp@nebula) [test]> create edge index index1 on E()
[ERROR (-1005)]: Existed!

Fri, 10 Sep 2021 07:37:06 UTC

(czp@nebula) [test]> create edge index index1 on E()
[ERROR (-1005)]: Existed!

Fri, 10 Sep 2021 07:37:22 UTC

(czp@nebula) [test]> create edge index index1 on E()
[ERROR (-1005)]: Existed!

Fri, 10 Sep 2021 07:39:28 UTC


@Sophie-Xie Sophie-Xie added the need info Solution: need more information (ex. can't reproduce) label Sep 13, 2021
@Sophie-Xie Sophie-Xie added this to the v2.7.0 milestone Oct 11, 2021
@Sophie-Xie Sophie-Xie added the type/bug Type: something is unexpected label Oct 11, 2021
@Sophie-Xie Sophie-Xie modified the milestones: v2.7.0, v3.0.0 Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need info Solution: need more information (ex. can't reproduce) type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

3 participants