Node doesn't join to the serf cluster when it is joined by "droonga-engine-join"
Closed this issue · 6 comments
When there are two nodes X and Y, and I've done that droonga-engine-join --host=X --replica-source-host=Y
, then they nodes should detect each other as the member of the serf cluster. However, ~/droonga/state/live-nodes.json and serf members --rpc-addr=X:7373
says that there still is only one member -myself- in the cluster. This is possibly a regression.
Why serf should be restarted?
We can't change serf cluster without restarting serf? (In other words, serf can't change cluster dynamically?)
Oh, I misunderstood... I thought that "--retry-join" is required for all other nodes always.
Ah, --retry-join
isn't an option for rejoining. It is for just "retrying" "join" action.
Now nodes are automatically joins to the cluster by "serf join" command, without restarting.
Great!