apache / apache/iotdb

IotDB cluster is not using FQDN as seed node address

未关闭
#4,483 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Module - Cluster
主要语言
Java
星标
6.4k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
115

描述

In a k8s environment, when you restart a multinode iotdb server instances, instances try to connect to IPs of old instances.

I am using FQDN addresses in seed nodes list but as far as I understand, IotDB changes them to IP addresses and store them as IP addresses.

**To Reproduce**
Steps to reproduce the behavior:
1. Start 3 instances of IotDB server in k8s environment, (seed nodes list must contain FQDNs)
2. Restart all instances.
3. See logs to see IotDB tries to connect to IP address of the first run.

**Expected behavior**
IotDB should store FQDNs and convert them to IPs at startup or when first used.

**Kubernetes Environment**
- IotDB 0.12.3

贡献指南

打开贡献指南

调研方向

在 Kubernetes 中使用三个 IoTDB 0.12.3 实例和 FQDN seed 节点重现该问题,然后检查重启日志并追踪 seed 地址的持久化位置。完成的标准是:重启后的实例保留 FQDN,并在启动时或首次使用时将其解析为当前 IP,而不是重新连接到旧的 IP 地址。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, kubernetes
领域
databases, distributed-systems, infrastructure
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。