Bakai Ádám created KUDU-3548:
--------------------------------
Summary: kudu master add times out if new master argument is an ip
address that can be resolved
Key: KUDU-3548
URL: https://issues.apache.org/jira/browse/KUDU-3548
Project: Kudu
Issue Type: Bug
Reporter: Bakai Ádám
It is produced on kudu on de87aca3dd29177658790cffeb7a1de0c8d69231:
{code:java}
kudu master add 127.0.0.1:8764 127.0.0.1 --fs_data_dirs=$PWD/master-1/data
--fs_wal_dir=$PWD/master-1/wal -logtostderr -v 1 {code}
In CheckMasterVoterAndHealthy
the elements in
master.registration().rpc_addresses() are: 127.0.0.1:8764 and
adam-7070-ubuntu:7051 (adam-7070 is my hostname), and the
new_master_hp.ToString() is 127.0.0.1:7051 which won't match to
adam-7070-ubuntu:7051 even though they are the same.
This makes CheckMasterVoterAndHealthy time out, but the new master still gets
into the raft quorum.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)