add quarantining state and inbound quarantine check, #20313
* InboundQuarantineCheck stage sends back Quarantined control message if sender system is quarantined * Ported old RemoteRestartedQuarantinedSpec * outbound quarantine check and piercing with ActorSelectionMessage * port of old RemoteQuarantinePiercingSpec and PiercingShouldKeepQuarantineSpec * quarantine if sys msg buffer overflow
This commit is contained in:
parent
67325da722
commit
d4c086c0ff
13 changed files with 659 additions and 67 deletions
|
|
@ -4,10 +4,8 @@
|
|||
package akka.remote.artery
|
||||
|
||||
import java.util.ArrayDeque
|
||||
|
||||
import scala.concurrent.Future
|
||||
import scala.concurrent.Promise
|
||||
|
||||
import akka.Done
|
||||
import akka.remote.EndpointManager.Send
|
||||
import akka.stream.Attributes
|
||||
|
|
@ -19,17 +17,24 @@ import akka.stream.stage.GraphStageLogic
|
|||
import akka.stream.stage.GraphStageWithMaterializedValue
|
||||
import akka.stream.stage.InHandler
|
||||
import akka.stream.stage.OutHandler
|
||||
import akka.remote.UniqueAddress
|
||||
|
||||
/**
|
||||
* Marker trait for reply messages
|
||||
* INTERNAL API: Marker trait for reply messages
|
||||
*/
|
||||
trait Reply extends ControlMessage
|
||||
private[akka] trait Reply extends ControlMessage
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
* Marker trait for control messages that can be sent via the system message sub-channel
|
||||
* but don't need full reliable delivery. E.g. `HandshakeReq` and `Reply`.
|
||||
*/
|
||||
trait ControlMessage
|
||||
private[akka] trait ControlMessage
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
private[akka] final case class Quarantined(from: UniqueAddress, to: UniqueAddress) extends ControlMessage // FIXME serialization
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue