Merge branch 'master' again to get the latest sharding fixes
This commit is contained in:
commit
5bbf5a5a21
46 changed files with 1478 additions and 714 deletions
|
|
@ -715,7 +715,7 @@ private[akka] class RemoteActorRef private[akka] (
|
|||
else if (provider.remoteWatcher.isDefined)
|
||||
remote.send(message, OptionVal.None, this)
|
||||
else
|
||||
provider.warnIfUnsafeDeathwatchWithoutCluster(watchee, watcher, "remote Watch")
|
||||
provider.warnIfUnsafeDeathwatchWithoutCluster(watchee, watcher, "Watch")
|
||||
|
||||
//Unwatch has a different signature, need to pattern match arguments against InternalActorRef
|
||||
case Unwatch(watchee: InternalActorRef, watcher: InternalActorRef) =>
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ private[akka] class RemoteWatcher(
|
|||
|
||||
// add watch from self, this will actually send a Watch to the target when necessary
|
||||
context.watch(watchee)
|
||||
} else remoteProvider.warnIfUnsafeDeathwatchWithoutCluster(watcher, watchee, "Watch")
|
||||
} else remoteProvider.warnIfUnsafeDeathwatchWithoutCluster(watchee, watcher, "Watch")
|
||||
}
|
||||
|
||||
def watchNode(watchee: InternalActorRef): Unit = {
|
||||
|
|
@ -250,7 +250,7 @@ private[akka] class RemoteWatcher(
|
|||
}
|
||||
case None =>
|
||||
}
|
||||
} else remoteProvider.warnIfUnsafeDeathwatchWithoutCluster(watcher, watchee, "Unwatch")
|
||||
} else remoteProvider.warnIfUnsafeDeathwatchWithoutCluster(watchee, watcher, "Unwatch")
|
||||
}
|
||||
|
||||
def removeWatchee(watchee: InternalActorRef): Unit = {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@ package akka.remote.artery
|
|||
|
||||
import java.net.InetSocketAddress
|
||||
|
||||
import akka.actor.{ Address, ExtendedActorSystem, Extension, ExtensionId, ExtensionIdProvider }
|
||||
import akka.actor.Address
|
||||
import akka.actor.ExtendedActorSystem
|
||||
import akka.actor.Extension
|
||||
import akka.actor.ExtensionId
|
||||
import akka.actor.ExtensionIdProvider
|
||||
import akka.annotation.InternalApi
|
||||
import akka.remote.UniqueAddress
|
||||
import akka.util.FlightRecorderLoader
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue