!clu #3657 Lazy deserialization and TTL of Gossip message payload
This commit is contained in:
parent
beff53f0a6
commit
7d5a3ec30b
9 changed files with 169 additions and 219 deletions
|
|
@ -600,7 +600,10 @@ private[cluster] class ClusterCoreDaemon(publisher: ActorRef) extends Actor with
|
|||
val remoteGossip = envelope.gossip
|
||||
val localGossip = latestGossip
|
||||
|
||||
if (envelope.to != selfUniqueAddress) {
|
||||
if (remoteGossip eq Gossip.empty) {
|
||||
log.debug("Cluster Node [{}] - Ignoring received gossip from [{}] to protect against overload", selfAddress, from)
|
||||
Ignored
|
||||
} else if (envelope.to != selfUniqueAddress) {
|
||||
logInfo("Ignoring received gossip intended for someone else, from [{}] to [{}]", from.address, envelope.to)
|
||||
Ignored
|
||||
} else if (!remoteGossip.overview.reachability.isReachable(selfUniqueAddress)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue