You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an index date1_index, and I have rebuilt it once:
But even after I dropped this index, the rebuilding history is still there:
I submitted a compaction job, but the history is still there. This logic is not good. Will the rebuilding history ever be updated? I think we should clear the history of the dropped indexes.
nGQL code:
(root@nebula) [basketballplayer]> SHOW TAG INDEX STATUS;
+------------------------------------+--------------+
| Name | Index Status |
+------------------------------------+--------------+
| "date1_index" | "FINISHED" |
+------------------------------------+--------------+
| "basketballplayer_all_tag_indexes" | "FINISHED" |
+------------------------------------+--------------+
Got 2 rows (time spent 697/1031 us)
Thu, 19 Aug 2021 08:28:07 UTC
(root@nebula) [basketballplayer]> drop tag index date1_index
Execution succeeded (time spent 903/1182 us)
Thu, 19 Aug 2021 08:28:58 UTC
(root@nebula) [basketballplayer]> SHOW TAG INDEX STATUS;
+------------------------------------+--------------+
| Name | Index Status |
+------------------------------------+--------------+
| "date1_index" | "FINISHED" |
+------------------------------------+--------------+
| "basketballplayer_all_tag_indexes" | "FINISHED" |
+------------------------------------+--------------+
Got 2 rows (time spent 621/1015 us)
Thu, 19 Aug 2021 08:29:01 UTC
(root@nebula) [basketballplayer]> drop tag index date1_index
[ERROR (-1005)]: Index not existed!
Thu, 19 Aug 2021 08:29:04 UTC
(root@nebula) [basketballplayer]> SHOW TAG INDEX STATUS;
+------------------------------------+--------------+
| Name | Index Status |
+------------------------------------+--------------+
| "date1_index" | "FINISHED" |
+------------------------------------+--------------+
| "basketballplayer_all_tag_indexes" | "FINISHED" |
+------------------------------------+--------------+
Got 2 rows (time spent 540/890 us)
Thu, 19 Aug 2021 08:29:09 UTC
(root@nebula) [basketballplayer]> SUBMIT JOB COMPACT
+------------+
| New Job Id |
+------------+
| 12 |
+------------+
Got 1 rows (time spent 753/1203 us)
Thu, 19 Aug 2021 08:29:42 UTC
(root@nebula) [basketballplayer]> SHOW JOBS
+--------+---------------------+------------+----------------------------+----------------------------+
| Job Id | Command | Status | Start Time | Stop Time |
+--------+---------------------+------------+----------------------------+----------------------------+
| 12 | "COMPACT" | "FINISHED" | 2021-08-19T08:29:42.000000 | 2021-08-19T08:29:42.000000 |
+--------+---------------------+------------+----------------------------+----------------------------+
| 11 | "REBUILD_TAG_INDEX" | "FINISHED" | 2021-08-19T08:05:58.000000 | 2021-08-19T08:05:58.000000 |
+--------+---------------------+------------+----------------------------+----------------------------+
| 10 | "REBUILD_TAG_INDEX" | "FINISHED" | 2021-08-19T07:53:53.000000 | 2021-08-19T07:53:53.000000 |
+--------+---------------------+------------+----------------------------+----------------------------+
Got 3 rows (time spent 802/1256 us)
Thu, 19 Aug 2021 08:29:45 UTC
(root@nebula) [basketballplayer]> SHOW TAG INDEX STATUS;
+------------------------------------+--------------+
| Name | Index Status |
+------------------------------------+--------------+
| "date1_index" | "FINISHED" |
+------------------------------------+--------------+
| "basketballplayer_all_tag_indexes" | "FINISHED" |
+------------------------------------+--------------+
Got 2 rows (time spent 625/1012 us)
The text was updated successfully, but these errors were encountered:
Nebula Graph version: 2.5.0
I have an index
date1_index
, and I have rebuilt it once:But even after I dropped this index, the rebuilding history is still there:
I submitted a compaction job, but the history is still there. This logic is not good. Will the rebuilding history ever be updated? I think we should clear the history of the dropped indexes.
nGQL code:
The text was updated successfully, but these errors were encountered: