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

Is it possible to stop Index Rebuild job ? #5356

Closed
goranc opened this issue Feb 17, 2023 · 2 comments
Closed

Is it possible to stop Index Rebuild job ? #5356

goranc opened this issue Feb 17, 2023 · 2 comments
Labels
type/question Type: question about the product

Comments

@goranc
Copy link

goranc commented Feb 17, 2023

When I start TAG Index Rebuild it starts a Job to execute rebuild.
Is it possible to stop rebuild process without stopping all storaged services on complete cluster ?

After issuing STOP JOB command, job is marked as STOPPED but tasks of actual rebuild are not stopped.

(root@nebula) [graph]> stop job 83;
+---------------+
| Result        |
+---------------+
| "Job stopped" |
+---------------+
Got 1 rows (time spent 2.084ms/2.388989ms)

Fri, 17 Feb 2023 12:23:21 CET

(root@nebula) [graph]> show job 83;
+----------------+---------------------+------------+----------------------------+----------------------------+-------------------+
| Job Id(TaskId) | Command(Dest)       | Status     | Start Time                 | Stop Time                  | Error Code        |
+----------------+---------------------+------------+----------------------------+----------------------------+-------------------+
| 83             | "REBUILD_TAG_INDEX" | "STOPPED"  | 2023-02-17T11:16:52.000000 | 2023-02-17T11:23:21.000000 | "E_JOB_SUBMITTED" |
| 0              | "10.20.33.40"       | "RUNNING"  | 2023-02-17T11:16:52.000000 |                            | ""                |
| 1              | "10.20.33.39"       | "RUNNING"  | 2023-02-17T11:16:52.000000 |                            | ""                |
| 2              | "10.20.33.38"       | "RUNNING"  | 2023-02-17T11:16:52.000000 |                            | ""                |
| 3              | "10.20.33.37"       | "RUNNING"  | 2023-02-17T11:16:52.000000 |                            | ""                |
| "Total:4"      | "Succeeded:0"       | "Failed:0" | "In Progress:4"            | ""                         | ""                |
+----------------+---------------------+------------+----------------------------+----------------------------+-------------------+
Got 6 rows (time spent 679µs/1.158677ms)

Fri, 17 Feb 2023 12:23:26 CET
@liwenhui-soul
Copy link
Contributor

maybe you should wait for a while, the tasks will be stooped later

@Sophie-Xie Sophie-Xie added the type/question Type: question about the product label Feb 21, 2023
@QingZ11
Copy link
Contributor

QingZ11 commented Mar 30, 2023

I have noticed that the issue you created hasn’t been updated for nearly a month, so I have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime.

Thanks a lot for your contribution anyway 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Type: question about the product
Projects
None yet
Development

No branches or pull requests

4 participants