Sorry, ignore this for now. Maybe I made a mistake.
Hi I am running a cluster in AWS EC2 enviroment. I was trying to increase acceptable-heartbeat-pause of cluster failure-detector, by doing the following.
akka.cluster {
...
failure-detector {
heartbeat-interval = 2s
threshold = 12.0
acceptable-heartbeat-pause = 8s
}
}
But I am still receiving heartbeat warning below:
heartbeat interval is growing too large for address akka.tcp://cluster_name1@10.80.30.60:8300: 3699 millis
It seemed the settings was not gotten applied. Looking at the source code I expected to get warning when interval is bigger than 5000 millis?
akka.remote.PhiAccrualFailureDetector {
...
if (interval >= (acceptableHeartbeatPauseMillis / 3 * 2) && eventStream.isDefined)
eventStream.get.publish(
Warning(
this.toString,
getClass,
s"heartbeat interval is growing too large for address $address: $interval millis"))
oldState.history :+ interval
}
...
}
Thanks,
Cheng