Star

移除节点不支持host

版本信息 :v2.0.0rc1

  • 需求原因 / 使用场景 :使用hostname 作为ip成功组建集群,但不能通过hostsname 移除节点
  • 需求描述 :能通过hostname移除节点
  • 该需求的参考资料(若无,可不填写)

@steam

@critical27 这种情况 storage 那边是已知的问题还是 bug ?也麻烦 @tom-chensf 给验证一下这种场景。

show hosts 看到的也是 host name 么?如果不是的话 那应该是匹配不到的

是的


(root@nebula) [nba]>  SHOW hosts
+-----------------------------------+-------+-----------+--------------+-------------------------+--------------------------+
| Host                              | Port  | Status    | Leader count | Leader distribution     | Partition distribution   |
+-----------------------------------+-------+-----------+--------------+-------------------------+--------------------------+
| "test-nebula-cluster-1.novalocal" | 44500 | "ONLINE"  | 11           | "cba:3, cuba:3, nba:5"  | "cba:3, cuba:3, nba:10"  |
+-----------------------------------+-------+-----------+--------------+-------------------------+--------------------------+
| "test-nebula-cluster-2.novalocal" | 44500 | "ONLINE"  | 12           | "cba:3, cuba:4, nba:5"  | "cba:3, cuba:4, nba:10"  |
+-----------------------------------+-------+-----------+--------------+-------------------------+--------------------------+
| "test-nebula-cluster-3.novalocal" | 44500 | "OFFLINE" | 0            | "No valid partition"    | "cba:2, cuba:3, nba:10"  |
+-----------------------------------+-------+-----------+--------------+-------------------------+--------------------------+
| "Total"                           |       |           | 23           | "cba:6, cuba:7, nba:10" | "cba:8, cuba:10, nba:30" |
+-----------------------------------+-------+-----------+--------------+-------------------------+--------------------------+

移除节点指啥?balance data remove?

是的

用docker可能host信息存的有问题 需要再看下 感谢反馈

是rpm部署的 集群,不是docker哟

嗯 域名这块都得再看下 先用ip吧 等修 @darionyaphet

也麻烦 @tom-chensf 把这个场景加入到你的测试计划中。谢谢

我这边也收藏了这个场景了

浙ICP备20010487号