数据迁移、扩缩节点失败

v2.0.0rc1

  • 部署方式(分布式 / 单机 / Docker / DBaaS):分布式
    新增节点后执行balance data 失败, 新建另外spaces ,能够成功写入数据
(root@nebula) [(none)]> BALANCE DATA 1616052655
+--------------------------------------------------------------+----------+
| balanceId, spaceId:partId, src->dst                          | status   |
+--------------------------------------------------------------+----------+
| "[1616052655, 1:1, 172.25.41.12:44500->172.25.41.14:44500] " | "FAILED" |
+--------------------------------------------------------------+----------+
| "[1616052655, 1:2, 172.25.41.13:44500->172.25.41.14:44500] " | "FAILED" |
+--------------------------------------------------------------+----------+
| "[1616052655, 1:3, 172.25.41.11:44500->172.25.41.14:44500] " | "FAILED" |
+--------------------------------------------------------------+----------+
| "[1616052655, 1:4, 172.25.41.12:44500->172.25.41.14:44500] " | "FAILED" |
+--------------------------------------------------------------+----------+
| "[1616052655, 1:5, 172.25.41.13:44500->172.25.41.14:44500] " | "FAILED" |
+--------------------------------------------------------------+----------+
| "[1616052655, 1:6, 172.25.41.11:44500->172.25.41.14:44500] " | "FAILED" |
+--------------------------------------------------------------+----------+
| "[1616052655, 1:7, 172.25.41.12:44500->172.25.41.14:44500] " | "FAILED" |
+--------------------------------------------------------------+----------+
| "[1616052655, 1:8, 172.25.41.13:44500->172.25.41.14:44500] " | "FAILED" |
+--------------------------------------------------------------+----------+
| "Total:8, Succeeded:0, Failed:8, In Progress:0, Invalid:0"   | 0.0      |
+--------------------------------------------------------------+----------+

+----------------+-------+----------+--------------+------------------------------+------------------------------+
| Host           | Port  | Status   | Leader count | Leader distribution          | Partition distribution       |
+----------------+-------+----------+--------------+------------------------------+------------------------------+
| "172.25.41.11" | 44500 | "ONLINE" | 12           | "cuba:2, ldbc_snb_sf100:10"  | "cuba:2, ldbc_snb_sf100:10"  |
+----------------+-------+----------+--------------+------------------------------+------------------------------+
| "172.25.41.12" | 44500 | "ONLINE" | 13           | "cuba:3, ldbc_snb_sf100:10"  | "cuba:3, ldbc_snb_sf100:10"  |
+----------------+-------+----------+--------------+------------------------------+------------------------------+
| "172.25.41.13" | 44500 | "ONLINE" | 13           | "cuba:3, ldbc_snb_sf100:10"  | "cuba:3, ldbc_snb_sf100:10"  |
+----------------+-------+----------+--------------+------------------------------+------------------------------+
| "172.25.41.14" | 44500 | "ONLINE" | 2            | "cuba:2"                     | "cuba:2"                     |
+----------------+-------+----------+--------------+------------------------------+------------------------------+
| "Total"        |       |          | 40           | "cuba:10, ldbc_snb_sf100:30" | "cuba:10, ldbc_snb_sf100:30" |
+----------------+-------+----------+--------------+------------------------------+------------------------------+

贴下meta的info日志和storage的info日志

请问你解决了这个问题吗,我也是新加了一个节点,导入数据正常,balance data失败。

成功了。确保版本和硬件配置符合要求。

1 个赞

我这边机器都是同样的系统同样的nebula镜像同一批硬盘

我指的硬件是指磁盘 是SSD之类的。我当时成功的版本是v2.0.1

对同一批ssd,一起买的。我也是v2.0.1

这就真的帮不上忙了。



2.0.1版本,缩节点报错。一执行直接报错。这是啥原因啊?可以帮忙看看吗

是不是 space 是单副本的,2.0.1 有 bug,单副本不能 balance。
在 v2.5.0 修复了

2 个赞

确实,感谢。已经解决

1 个赞