apache / apache/iotdb

IotDB cluster is not using FQDN as seed node address

オープン
#4,483 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Module - Cluster
主要言語
Java
スター
6.4k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
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 上で 3 つの 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 を短くまとめたダイジェスト。