submit compact 返回旧的job id

提问参考模版:

  • nebula 版本:v3.3.0
  • 部署方式:分布式
  • 安装方式: RPM
  • 是否为线上版本: N
  • 硬件信息
    • 磁盘: HDD

集群出现过的异常情况:某节点的一个硬盘满了,导致storage stopped, 后来重启了storaged,然后balance leader, 接着就是submit job compact

提交compact job 之后,返回了一个旧的 FINISHED 状态的compact job id

(root@nebula) [Unified]> submit job compact
+------------+
| New Job Id |
+------------+
| 16         |
+------------+
Got 1 rows (time spent 22.745ms/23.854451ms)

Tue, 07 Feb 2023 11:06:24 CST

(root@nebula) [Unified]> show jobs
+--------+------------------+------------+----------------------------+----------------------------+
| Job Id | Command          | Status     | Start Time                 | Stop Time                  |
+--------+------------------+------------+----------------------------+----------------------------+
| 21     | "LEADER_BALANCE" | "FINISHED" | 2023-02-07T02:46:50.000000 | 2023-02-07T02:46:55.000000 |
| 20     | "LEADER_BALANCE" | "FINISHED" | 2023-02-07T02:08:40.000000 | 2023-02-07T02:08:50.000000 |
| 19     | "LEADER_BALANCE" | "FINISHED" | 2023-02-07T02:07:32.000000 | 2023-02-07T02:07:32.000000 |
| 18     | "COMPACT"        | "FINISHED" | 2023-02-06T01:45:12.000000 | 2023-02-06T07:11:21.000000 |
| 17     | "COMPACT"        | "FINISHED" | 2023-02-04T06:25:06.000000 | 2023-02-04T10:08:42.000000 |
| 16     | "COMPACT"        | "FINISHED" | 2023-02-03T11:04:01.000000 | 2023-02-03T17:31:07.000000 |
| 15     | "LEADER_BALANCE" | "FINISHED" | 2023-02-02T00:58:49.000000 | 2023-02-02T00:58:54.000000 |
| 14     | "COMPACT"        | "FINISHED" | 2023-02-01T10:43:52.000000 | 2023-02-01T11:50:10.000000 |
| 13     | "COMPACT"        | "FINISHED" | 2023-02-01T01:37:01.000000 | 2023-02-01T02:59:54.000000 |
+--------+------------------+------------+----------------------------+----------------------------+
Got 9 rows (time spent 1.25803s/1.259918746s)

Tue, 07 Feb 2023 11:06:31 CST

这可能是旧版本的bug,你重启下meta再试试

1 个赞

多谢,试了下,可以正常提交job了

此话题已在最后回复的 7 天后被自动关闭。不再允许新回复。