FIXME in cluster, see #3192
This commit is contained in:
parent
58756be937
commit
196a141976
5 changed files with 9 additions and 11 deletions
|
|
@ -697,7 +697,7 @@ private[cluster] final class ClusterCoreDaemon(publisher: ActorRef) extends Acto
|
|||
val localUnreachableMembers = localOverview.unreachable
|
||||
|
||||
val hasPartionHandoffCompletedSuccessfully: Boolean = {
|
||||
// FIXME implement partion handoff and a check if it is completed - now just returns TRUE - e.g. has completed successfully
|
||||
// TODO implement partion handoff and a check if it is completed - now just returns TRUE - e.g. has completed successfully
|
||||
true
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ private[cluster] case class ClusterHeartbeatSenderState private (
|
|||
ending: Map[Address, Int] = Map.empty,
|
||||
heartbeatRequest: Map[Address, Deadline] = Map.empty) {
|
||||
|
||||
// FIXME can be disabled as optimization
|
||||
// TODO can be disabled as optimization
|
||||
assertInvariants()
|
||||
|
||||
private def assertInvariants(): Unit = {
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ private[cluster] case class Gossip(
|
|||
version: VectorClock = VectorClock()) // vector clock version
|
||||
extends Versioned[Gossip] {
|
||||
|
||||
// FIXME can be disabled as optimization
|
||||
// TODO can be disabled as optimization
|
||||
assertInvariants()
|
||||
|
||||
private def assertInvariants(): Unit = {
|
||||
|
|
|
|||
|
|
@ -146,10 +146,9 @@ class ClusterSingletonManagerChaosSpec extends MultiNodeSpec(ClusterSingletonMan
|
|||
}
|
||||
|
||||
"take over when three oldest nodes crash in 6 nodes cluster" in within(90 seconds) {
|
||||
// FIXME change those to DeadLetterFilter
|
||||
system.eventStream.publish(Mute(EventFilter.warning(pattern = ".*received dead letter from.*")))
|
||||
system.eventStream.publish(Mute(EventFilter.error(pattern = ".*Disassociated.*")))
|
||||
system.eventStream.publish(Mute(EventFilter.error(pattern = ".*Association failed.*")))
|
||||
// mute logging of deadLetters during shutdown of systems
|
||||
if (!log.isDebugEnabled)
|
||||
system.eventStream.publish(Mute(DeadLettersFilter[Any]))
|
||||
enterBarrier("logs-muted")
|
||||
|
||||
crash(first, second, third)
|
||||
|
|
|
|||
|
|
@ -345,10 +345,9 @@ class ClusterSingletonManagerSpec extends MultiNodeSpec(ClusterSingletonManagerS
|
|||
}
|
||||
|
||||
"take over when oldest crashes in 5 nodes cluster" in within(60 seconds) {
|
||||
// FIXME change those to DeadLetterFilter
|
||||
system.eventStream.publish(Mute(EventFilter.warning(pattern = ".*received dead letter from.*")))
|
||||
system.eventStream.publish(Mute(EventFilter.error(pattern = ".*Disassociated.*")))
|
||||
system.eventStream.publish(Mute(EventFilter.error(pattern = ".*Association failed.*")))
|
||||
// mute logging of deadLetters during shutdown of systems
|
||||
if (!log.isDebugEnabled)
|
||||
system.eventStream.publish(Mute(DeadLettersFilter[Any]))
|
||||
enterBarrier("logs-muted")
|
||||
|
||||
crash(second)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue