=rem #3870 Stop re-delivery of system messages when watching non-existing sys
* We don't know the UID so we can't quarantine, but we can stop the endpoint writer and drop outstanding system messages
This commit is contained in:
parent
f1edf78979
commit
aa6bdd197e
9 changed files with 62 additions and 25 deletions
|
|
@ -417,9 +417,10 @@ private[akka] class RemoteActorRefProvider(
|
|||
/**
|
||||
* Marks a remote system as out of sync and prevents reconnects until the quarantine timeout elapses.
|
||||
* @param address Address of the remote system to be quarantined
|
||||
* @param uid UID of the remote system
|
||||
* @param uid UID of the remote system, if the uid is not defined it will not be a strong quarantine but
|
||||
* the current endpoint writer will be stopped (dropping system messages) and the address will be gated
|
||||
*/
|
||||
def quarantine(address: Address, uid: Int): Unit = transport.quarantine(address: Address, uid: Int)
|
||||
def quarantine(address: Address, uid: Option[Int]): Unit = transport.quarantine(address, uid)
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue