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

after balance leader successfully, the job is alway running #3742

Closed
HarrisChu opened this issue Jan 18, 2022 · 3 comments
Closed

after balance leader successfully, the job is alway running #3742

HarrisChu opened this issue Jan 18, 2022 · 3 comments
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@HarrisChu
Copy link
Contributor

(root@nebula) [sf30]> show jobs
+--------+------------------+-----------+----------------------------+-----------+
| Job Id | Command          | Status    | Start Time                 | Stop Time |
+--------+------------------+-----------+----------------------------+-----------+
| 3      | "LEADER_BALANCE" | "RUNNING" | 2022-01-17T00:44:50.000000 |           |
+--------+------------------+-----------+----------------------------+-----------+
Got 1 rows (time spent 2979/16950 us)

Tue, 18 Jan 2022 10:45:12 CST

(root@nebula) [sf30]> show job 3
+----------------+------------------+-----------+----------------------------+-----------+
| Job Id(TaskId) | Command(Dest)    | Status    | Start Time                 | Stop Time |
+----------------+------------------+-----------+----------------------------+-----------+
| 3              | "LEADER_BALANCE" | "RUNNING" | 2022-01-17T00:44:50.000000 |           |
+----------------+------------------+-----------+----------------------------+-----------+
Got 1 rows (time spent 1342/16464 us)

Tue, 18 Jan 2022 10:45:14 CST

(root@nebula) [sf30]>
(root@nebula) [sf30]>
(root@nebula) [sf30]> show hosts
+-----------------+------+----------+--------------+---------------------+------------------------+
| Host            | Port | Status   | Leader count | Leader distribution | Partition distribution |
+-----------------+------+----------+--------------+---------------------+------------------------+
| "192.168.15.13" | 3779 | "ONLINE" | 8            | "sf30:8"            | "sf30:24"              |
| "192.168.15.13" | 2779 | "ONLINE" | 8            | "sf30:8"            | "sf30:24"              |
| "192.168.15.13" | 1779 | "ONLINE" | 8            | "sf30:8"            | "sf30:24"              |
| "Total"         |      |          | 24           | "sf30:24"           | "sf30:72"              |
+-----------------+------+----------+--------------+---------------------+------------------------+
Got 4 rows (time spent 1919/20920 us)

Tue, 18 Jan 2022 10:45:17 CST

some logs

I20220117 08:44:50.427546 51633 LeaderBalanceJobExecutor.cpp:402] Acquire leaders to host: "192.168.15.13":1779 loading: 0 min loading 8
I20220117 08:44:50.427572 51633 LeaderBalanceJobExecutor.cpp:461] acquire plan trans leader space: 1 part: 1 from 192.168.15.13:3779 to 192.168.15.13:1779
I20220117 08:44:50.427585 51633 LeaderBalanceJobExecutor.cpp:461] acquire plan trans leader space: 1 part: 2 from 192.168.15.13:3779 to 192.168.15.13:1779
I20220117 08:44:50.427597 51633 LeaderBalanceJobExecutor.cpp:461] acquire plan trans leader space: 1 part: 3 from 192.168.15.13:2779 to 192.168.15.13:1779
I20220117 08:44:50.427608 51633 LeaderBalanceJobExecutor.cpp:461] acquire plan trans leader space: 1 part: 4 from 192.168.15.13:3779 to 192.168.15.13:1779
I20220117 08:44:50.427621 51633 LeaderBalanceJobExecutor.cpp:461] acquire plan trans leader space: 1 part: 7 from 192.168.15.13:3779 to 192.168.15.13:1779
I20220117 08:44:50.427632 51633 LeaderBalanceJobExecutor.cpp:461] acquire plan trans leader space: 1 part: 8 from 192.168.15.13:3779 to 192.168.15.13:1779
I20220117 08:44:50.427644 51633 LeaderBalanceJobExecutor.cpp:461] acquire plan trans leader space: 1 part: 10 from 192.168.15.13:3779 to 192.168.15.13:1779
I20220117 08:44:50.427656 51633 LeaderBalanceJobExecutor.cpp:461] acquire plan trans leader space: 1 part: 11 from 192.168.15.13:3779 to 192.168.15.13:1779
I20220117 08:44:50.427666 51633 LeaderBalanceJobExecutor.cpp:471] Host: "192.168.15.13":1779's leader reach 8
I20220117 08:44:50.427680 51633 LeaderBalanceJobExecutor.cpp:417] Not need balance
I20220117 08:44:50.440614 51633 JobManager.cpp:206] jobFinished, jobId=3, result=FINISHED
@HarrisChu HarrisChu added the type/bug Type: something is unexpected label Jan 18, 2022
@HarrisChu
Copy link
Contributor Author

(root@nebula) [sf30]> show hosts meta
+-----------------+------+----------+--------+--------------+----------------------+
| Host            | Port | Status   | Role   | Git Info Sha | Version              |
+-----------------+------+----------+--------+--------------+----------------------+
| "192.168.15.13" | 2559 | "ONLINE" | "META" | "ff29f6c"    | "2022.01.16-nightly" |
| "192.168.15.13" | 1559 | "ONLINE" | "META" | "ff29f6c"    | "2022.01.16-nightly" |
| "192.168.15.13" | 3559 | "ONLINE" | "META" | "ff29f6c"    | "2022.01.16-nightly" |
+-----------------+------+----------+--------+--------------+----------------------+
Got 3 rows (time spent 1675/18868 us)

Tue, 18 Jan 2022 10:47:54 CST

@Sophie-Xie Sophie-Xie added this to the v3.0.0 milestone Jan 18, 2022
@critical27
Copy link
Contributor

Probably duplicated with #3636

@HarrisChu
Copy link
Contributor Author

duplicated, closed

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

No branches or pull requests

5 participants