apache / apache/iotdb

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

Open
#12,530 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

### 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!

Contributor guide

Open the contributing guide

Research direction

Start at the WARN from o.a.ratis.util.LogUtils:124 and trace the Failed requestVote messages across nodes 2 and 3 in the reported 3-node cluster. Compare the warning behavior with node 1, then establish why the repeated warnings occur and verify that the cluster no longer produces excessive warnings or log growth.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.