Commit graph

1345 commits

Author SHA1 Message Date
Björn Antonsson
179faba453 =all #3837 Make akkaScalaNightly compile on scala 2.11.0-M8 2014-01-31 14:13:02 +01:00
Patrik Nordwall
4b843476ef =clu,rem #3632 Correct wrong transport in docs 2014-01-21 15:14:27 +01:00
Patrik Nordwall
98a3cc6f22 Merge pull request #1940 from akka/wip-3827-AkkaProtocolStressTest-patriknw
=rem #3827 Adjust gate setting in AkkaProtocolStressTest
2014-01-20 02:52:43 -08:00
Patrik Nordwall
37eddd716c Merge pull request #1936 from akka/wip-3738-memory-leaks-in-tests-patriknw
=act #3738 Fix memory leaks in tests
2014-01-20 02:51:49 -08:00
Patrik Nordwall
994e9fb5c4 =rem #3827 Adjust gate setting in AkkaProtocolStressTest 2014-01-20 09:11:45 +01:00
Patrik Nordwall
a11fb1dafc =act #3572 Add parens to sender
* because it is not referentially transparent; normally we reserved parens for
  side-effecting code but given how people thoughtlessly close over it we revised
  that that decision for sender
* caller can still omit parens
2014-01-17 18:21:14 +01:00
Patrik Nordwall
9eb32a4486 =act #3738 Fix memory leaks in tests
* afterAll not called when all tests marked as ignore,
  invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected = true
  should solve that, but changed to pending in Ticket1978 anyway
* Try to shutdown when ActorSystem init fails. It is difficult
  to cover all scenarios, but this should improve the situation.
  This was the reason why DeployerSpec leaked.
* missing shutdown in some tests
2014-01-17 16:18:35 +01:00
Endre Sándor Varga
293dd0b9d2 !act #3812: Remove Pipelines 2014-01-17 15:52:24 +01:00
Roland Kuhn
453815c073 Merge pull request #1933 from akka/wip-3764-props-docs-∂π
clean up docs and deprecation around how to create Props
2014-01-17 05:57:37 -08:00
Endre Sándor Varga
cf58402dd9 !rem #3765: Change the defaults for remoting
- removed retry-window and related settings
 - removed gate-invalid-addresses-for
 - gate is now mandatory
 - remoting has a dedicated dispatcher by default
 - updated tests to work with changed timings
 - added doc section for association lifecycle
2014-01-17 11:29:22 +01:00
Roland Kuhn
5bcb750441 !act,doc,rem,tes 3823 remove deprecated Props methods
- rewrite deprecated usages to their recommended counterparts
- TestActorRef now verifies mailbox requirements
- CallingThreadMailbox now exposes proper messageQueue type for
  inspection
2014-01-17 09:12:44 +01:00
Patrik Nordwall
d7aab50da0 !act #2927 Add BalancingPool and deprecate BalancingDispatcher 2014-01-16 19:06:42 +01:00
Patrik Nordwall
bfbee94fec Merge pull request #1916 from akka/wip-3809-config-1.1-patriknw
!pro #3809 Update to config 1.2.0
2014-01-16 00:23:27 -08:00
Patrik Nordwall
e441d1b29b !pro #3809 Update to config 1.2.0
* Changed all duration reads to use implicit conversion
  and the new getDuration to reduce boilerplate
2014-01-15 19:26:47 +01:00
Patrik Nordwall
7648a50d53 +act #3769 Add toStringWithoutAddress to ActorPath 2014-01-15 15:05:52 +01:00
Björn Antonsson
003609c9c5 =pro #3759 Changed to using non-deprecated ScalaTest Matchers 2013-12-18 11:32:51 +01:00
Patrik Nordwall
f5791a2c35 Merge pull request #1866 from akka/wip-3726-remote-watch-cleanup-failure-patriknw
=rem #3726 Fix race in RemoteWatcher for first quick watch/unwatch
2013-12-13 09:05:15 -08:00
Patrik Nordwall
aca051c4ba =rem #3726 Fix race in RemoteWatcher for first quick watch/unwatch
* The problem scenario was that a remote watch followed by re-watch triggered by
  first heartbeat and unwatch coming in before the extra re-watch message. That
  caused RemoteWatcher to still watch the subject even though it was intended to
  be unwatched.
* I could reproduce it with sleeps at stratgic points
* Sovled by separate re-watch message and check that still watching
2013-12-13 18:04:01 +01:00
Patrik Nordwall
c92254f908 +act #3609 Include host and port in log source 2013-12-12 12:26:56 +01:00
drewhk
8321e10bdd Merge pull request #1858 from drewhk/wip-3730-actorselection-friendly-quarantine-drewhk
Implemented Quarantine piercing
2013-12-12 01:16:33 -08:00
Endre Sándor Varga
c9fcc5eb5c +rem: Implement Quarantine piercing
- Added refuseUid support in Akka protocol and EndpointManager
 - The AkkaProtocolTransport interface is now a first-class citizen in remoting and endpoint actors
 - The AkkaProtocolTransport interface is now a first-class citizen in endpoint actors
2013-12-11 15:38:39 +01:00
Endre Sándor Varga
0f0606121d !act #3637: Add information about target in AskTimeout 2013-12-11 11:12:05 +01:00
Björn Antonsson
7c8fcc4c61 Merge pull request #1840 from akka/wip-3633-failed-systemmessagedeliverynopassive-ban
=rem #3633 Fix race between EndpointWriter Terminated and TakeOver
2013-12-04 01:59:38 -08:00
Björn Antonsson
838e8ffbc1 =rem #3633 Fix race between EndpointWriter Terminated and TakeOver 2013-12-02 12:23:11 +01:00
Patrik Nordwall
67393c0fb6 +rem #3665 Allow trusted selections in untrusted-mode 2013-11-14 14:08:46 +01:00
Patrik Nordwall
44d3a96776 Merge pull request #1822 from akka/wip-3579-ActorSelection-deadLetters-patriknw
+act #3579 Direct ActorSelection for missing actor to deadLetters
2013-11-14 04:38:46 -08:00
rob.david
fd0fac263f =rem #3706 Avoid loss of floating point precision in PhiAccrualFailureDetector 2013-11-11 14:22:10 +00:00
Patrik Nordwall
47216bd956 +act #3579 Direct ActorSelection for missing actor to deadLetters 2013-11-06 14:27:16 +01:00
Patrik Nordwall
f89422c18e =act,rem #3073 Make ActorSelection faster 2013-11-06 12:41:53 +01:00
Patrik Nordwall
d4cce379ce Merge pull request #1776 from akka/wip-3663-balancing-disp-patriknw
+act #3663 Package BalancingDispatcher for usage in router pool
2013-10-17 05:09:43 -07:00
drewhk
62a6193493 Merge pull request #1774 from drewhk/wip-3666-log-missing-port-fwdport-drewhk
=rem #3666: Explicitly log invalid outbound addresses (forward port)
2013-10-16 06:15:36 -07:00
drewhk
5a103687ea Merge pull request #1775 from drewhk/wip-logging-config-comment-fwdport-drewhk
=rem : Update comment in logging section of remoting configuration (forward port)
2013-10-16 06:15:10 -07:00
Patrik Nordwall
80892762ad +act #3663 Package BalancingDispatcher for usage in router pool
* In fact, make it easy to define any dedicated dispatcher for a pool
2013-10-16 14:44:39 +02:00
Endre Sándor Varga
c73225a69a =rem : Update comment in logging section of remoting configuration
(cherry picked from commit 0510163)
2013-10-16 13:07:41 +02:00
Endre Sándor Varga
1e3428c22f =rem #3666: Explicitly log invalid outbound addresses
(cherry picked from commit e8bbcf8)
2013-10-16 13:06:07 +02:00
Patrik Nordwall
ebadd567b2 !act,rem,clu #3549 Simplify and enhance routers
* Separate routing logic, to be usable stand alone, e.g. in actors
* Simplify RouterConfig, only a factory
* Move reading of config from Deployer to the RouterConfig
* Distiction between Pool and Group router types
* Remove usage of actorFor, use ActorSelection
* Management messages to add and remove routees
* Simplify the internals of RoutedActorCell & co
* Move resize specific code to separate RoutedActorCell subclass
* Change resizer api to only return capacity change
* Resizer only allowed together with Pool
* Re-implement all routers, and keep old api during deprecation phase
* Replace ClusterRouterConfig, deprecation
* Rewrite documentation
* Migration guide
* Also includes related ticket:
  +act #3087 Create nicer Props factories for RouterConfig
2013-10-16 09:27:13 +02:00
Endre Sándor Varga
b39ab37045 !rem #3646: Optimize sending of Ack messages 2013-10-14 10:30:33 +02:00
Björn Antonsson
fdde09690a =rem #3643 Remove warning message from normal remote system shutdown.
Conflicts:
	akka-remote/src/main/scala/akka/remote/Remoting.scala
	project/AkkaBuild.scala
2013-10-10 14:17:32 +02:00
Björn Antonsson
5d6ac46683 =rem #3621 Make Netty respect akka.daemonic setting 2013-10-10 10:53:09 +02:00
drewhk
fe7eff9009 Merge pull request #1737 from drewhk/wip-3606-resend-unfulfillable-drewhk
=rem #3606 Properly reset system message buffer between remote sys restarts
2013-09-20 02:35:57 -07:00
Endre Sándor Varga
9fcae8ae5e =rem #3606 Properly reset system message buffer between remote sys restarts 2013-09-18 14:16:10 +02:00
Björn Antonsson
2876460dcb !rem, clu, mul #3154 Upgrade protobuf to 2.5.0 and add an SBT task
* Added an SBT task to compile protobuf files with protoc
* Upgraded protobuf to 2.5.0 which is the current stable
2013-09-12 11:20:25 +02:00
Patrik Nordwall
dc9fe4f19c !clu #2307 Allow transition from unreachable to reachable
* Replace unreachable Set with Reachability table
* Unreachable members stay in member Set
* Downing a live member was moved it to the unreachable Set,
  and then removed from there by the leader. That will not
  work when flipping back to reachable, so a Down member must
  be detected as unreachable before beeing removed. Similar
  to Exiting. Member shuts down itself if it sees itself as
  Down.
* Flip back to reachable when failure detector monitors it as
  available again
* ReachableMember event
* Can't ignore gossip from aggregated unreachable (see SurviveNetworkInstabilitySpec)
* Make use of ReachableMember event in cluster router
* End heartbeat when acknowledged, EndHeartbeatAck
* Remove nr-of-end-heartbeats from conf
* Full reachability info in JMX cluster status
* Don't use interval after unreachable for AccrualFailureDetector history
* Add QuarantinedEvent to remoting, used for Reachability.Terminated
* Prune reachability table when all reachable
* Update documentation
* Performance testing and optimizations
2013-09-11 13:10:29 +02:00
Björn Antonsson
ba92d38fbd Merge pull request #1679 from akka/wip-3389-fix-ssl-engine-shutdown-ban
=act #3389 Improve SSL closing sequence
2013-08-27 05:55:10 -07:00
Björn Antonsson
d88de3f79d =act #3389 Improve SSL closing sequence
* Port of this fix in Spray by @jrudolph from this pull request https://github.com/spray/spray/pull/400
2013-08-27 12:44:02 +02:00
Endre Sándor Varga
b566e9393d =act, rem, clu #3521: make serialize-messages work with core modules 2013-08-27 11:05:54 +02:00
drewhk
562b2fa1a3 Merge pull request #1681 from drewhk/wip-3504-tone-down-remote-logging-drewhk
+rem #3504: Toned down error logging and made loglevel configurable
2013-08-27 01:33:28 -07:00
Endre Sándor Varga
132c30d6cf +rem #3504: Toned down error logging and made loglevel configurable 2013-08-26 15:44:47 +02:00
Patrik Nordwall
12a442f7d0 =rem #3527 Correction of match in reWatch 2013-08-26 11:59:19 +02:00
Patrik Nordwall
637598a28b =rem #3527 Take actor system uid into consideration in remote watch
* When actor system was restarted quickly the new system replied to
  heartbeats and Terminated was never triggered for actors in old
  system.
* Solved by sending an extra Watch system message when first hearbeat
  is received for an address and when a change of system uid is detected.
2013-08-22 11:03:02 +02:00