apache / apache/iotdb

WARN o.a.ratis.util.LogUtils:124 - 3: Failed requestVote 1->3#0

オープン
#12,530 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.4k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
115

説明

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.

### Version

IoTDB 1.2.2 Cluster 3D 3C

### Describe the bug and provide the minimal reproduce step

Hi,
i have builded a cluster with 3 node 3D3C
and after some time i got a lot of warning in the log files

## on the node 2 i have plenty of warning in the log with this error:

![image](https://github.com/apache/iotdb/assets/126893672/63540610-fbe9-4e15-8b11-5c73309e81eb)

## on the node 3 i have the same warining but with different requestVote:

![image](https://github.com/apache/iotdb/assets/126893672/f9720aa5-ce66-4f3c-a917-9bccb5742f04)

Any idea how to fix this problem? it consume a lot of memory and disk space!

### What did you expect to see?

i'll expect to see 0 warning on every node

### What did you see instead?

a lot of warning from node 2 and node 3

### Anything else?

keep in mind that node 1 have 0 warning

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

o.a.ratis.util.LogUtils:124 の WARN から開始し、報告された 3-node cluster のノード 2 と 3 にまたがる Failed requestVote messages を追跡します。ノード 1 と警告の動作を比較し、繰り返し警告が発生する理由を明らかにしたうえで、cluster が過剰な警告やログの増大を引き続き生成しないことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
databases, distributed-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。