Commit graph

13793 commits

Author SHA1 Message Date
Roland Kuhn
8a0a6d9e13 +per #3906 use AbstractActor for Java8 Persistence
- also rename and link doc chapter
2014-03-04 16:15:13 +01:00
Nabeel Ali Memon
a0a541eda7 +per #3906 add Java8 support for Persistence
- Provided new interfaces for akka-persistence to be usable directly
  through ReceiveBuilder/PartialFunction. Added a sample java project to
  showcase the usage of these API's with akka-persistence.
- Fixed a minor comment block in javadoc code snippet.
- Renamed java event persistor and fixed a documentation typo.
- Put back java event persistence methods in
  UntypedEventsourcedProcessor and copied them into
  AbstractEventsourcedProcessor for the sake of clarity in javadocs.
  Also corrected some doc punctuations.
- Documentation for akka-persistence java 8 lambda expressions support.
- Moved code examples referred from within lambda-persistence.rst to
  java8 compatible sample project.
- Removed remaining unwanted java8 compatible source files.
2014-03-04 16:14:57 +01:00
Björn Antonsson
8e32b4577c Merge pull request #2053 from drewhk/wip-3902-reduce-drop-in-stresstest-drewhk
=rem #3902: Reduce disassociate errors in remote stress-test
2014-03-04 13:56:03 +01:00
Björn Antonsson
35f2f215f6 Merge pull request #2040 from akka/wip-persistent-delivery-path-∂π
=doc document why Deliver takes an ActorPath
2014-03-04 13:44:00 +01:00
Björn Antonsson
24a5f64fcd Merge pull request #2044 from krasserm/wip-3898-increase-expect-timeout-krasserm
=per #3898 Increase expect timeout for SharedLeveldbJournalSpec
2014-03-04 13:36:34 +01:00
Björn Antonsson
51f9501a0d Merge pull request #2049 from drewhk/wip-3787-loglevel-fix-forwardport-drewhk
=rem #3787: Fix wrong loglevels in remote events logging
2014-03-04 13:36:17 +01:00
Björn Antonsson
fb503a3993 Merge pull request #2045 from akka/wip-pomIncludeRepositories-∂π
=pro #3904 do not leak internal repositories during staging
2014-03-04 13:35:18 +01:00
Björn Antonsson
96be914979 Merge pull request #2052 from akka/wip-3900-systemActorOf-∂π
+act #3900 make systemActorOf available to Extensions
2014-03-04 13:32:12 +01:00
Björn Antonsson
aa88f02de2 Merge pull request #2055 from akka/wip-fix-java-version-in-release-script-master-ban
=pro Fixed release script Java version check
2014-03-04 13:30:53 +01:00
Björn Antonsson
6fecb00f91 =pro Fixed release script Java version check 2014-03-04 11:16:39 +01:00
Roland Kuhn
2ed7c0e1b7 =pro #3904 do not leak internal repositories during staging 2014-03-04 10:50:47 +01:00
Endre Sándor Varga
0c41e008d9 =rem #3902: Reduce disassociate errors in remote stress-test 2014-03-03 15:06:12 +01:00
Roland Kuhn
b5eeb08fde +act #3900 make systemActorOf available to Extensions 2014-03-03 12:00:25 +01:00
Björn Antonsson
e2b73769f4 Merge pull request #2051 from akka/wip-3831-java-8-doc-ban
!act,doc #3831 Adding more Java with Lambda documentation and support
2014-03-03 11:55:13 +01:00
Björn Antonsson
0dcb6d6654 !act,doc #3831 Adding more Java with Lambda documentation and support
* The Java with Lambda support documentation for AbstractActor and AbstractFSM are now on par with Scala
* Many small fixes and additions of missing things
* Added an AbstractActorContext that has convenience functions for getChild and getChildren
2014-03-03 10:18:58 +01:00
Endre Sándor Varga
824e4b4666 =rem #3787: Fix wrong loglevels in remote events logging (forward port) 2014-02-28 15:20:28 +01:00
Roland Kuhn
8396e923cf Merge pull request #2039 from nurkiewicz/patch-1
The correct directive name is Stop, not Terminate
2014-02-28 09:57:28 +01:00
Martin Krasser
5b87222cea =per #3898 Increase expect timeout for SharedLeveldbJournalSpec 2014-02-28 08:05:03 +01:00
Roland Kuhn
6cb4ed381d =doc document why Deliver takes an ActorPath 2014-02-27 15:04:38 +01:00
Roland Kuhn
d7283abfcb Merge pull request #2023 from ktoso/doc-3886-partialfunc-orelse-ktoso
=doc #3886 improved example of PartialFunction.orElse composition
2014-02-27 09:58:19 +01:00
Roland Kuhn
fa1717eead Merge pull request #2034 from krasserm/wip-3883-eventsourced-migration-guide-krasserm
=doc #3883 Eventsourced to Akka Persistence comparison/migration
2014-02-27 09:56:41 +01:00
Martin Krasser
dc3164d1b1 =doc #3883 Eventsourced to Akka Persistence comparison/migration 2014-02-27 07:54:13 +01:00
Tomasz Nurkiewicz
bbd2fe20ec The correct directive name is Stop, not Terminate
Make documentation consistent with values from `akka.actor.SupervisorStrategy.Directive`
2014-02-26 21:08:29 +01:00
Roland Kuhn
585267666c =doc #3897 Routers migration guide format fix 2014-02-26 16:54:05 +01:00
Patrik Nordwall
24688cc864 Merge pull request #2031 from akka/wip-3887-activator-cc0-license-patriknw
=sam #3887 Public domain license for activator templates
2014-02-21 15:35:53 +01:00
Patrik Nordwall
8094774b79 Merge pull request #2030 from akka/wip-activator-build-patriknw
=sam Switch to build.sbt in activator templates
2014-02-21 15:35:15 +01:00
Patrik Nordwall
fda48506d1 Merge pull request #2029 from akka/wip-sharding-activator-link-patriknw
=doc Links to activator and some doc improvements
2014-02-21 15:34:52 +01:00
Patrik Nordwall
a79ed427b2 Merge pull request #2026 from akka/wip-remove-gossip-debug-log-patriknw
=clu Remove debug log noise of gossip round
2014-02-21 15:34:37 +01:00
Patrik Nordwall
12696878d8 Merge pull request #2024 from akka/wip-publish-samples-target-patriknw
=pro Exclude target directories from find in publish_samples.sh
2014-02-21 15:34:15 +01:00
Patrik Nordwall
a1196f21ad =sam #3887 Public domain license for activator templates 2014-02-21 12:31:00 +01:00
Patrik Nordwall
9da838a24d =sam Switch to build.sbt in activator templates 2014-02-21 11:53:00 +01:00
Patrik Nordwall
d1a7956d17 =doc Links to activator and some doc improvements 2014-02-21 11:24:01 +01:00
Patrik Nordwall
a6c29dc064 Merge pull request #2025 from akka/wip-3881-persistence-community-patriknw
=doc #3881 Change link to persistence community plugins
2014-02-21 08:26:49 +01:00
Patrik Nordwall
c1f320d621 =clu Remove debug log noise of gossip round
* that log entry is not useful
2014-02-20 11:52:33 +01:00
Patrik Nordwall
48afb23586 =doc #3881 Change link to persistence community plugins 2014-02-20 11:47:43 +01:00
Roland Kuhn
b4536c945e fix maven shade docs 2014-02-20 10:22:15 +01:00
Konrad Malawski
b7dd2a6af5 =doc #3886 improved example of PartialFunction.orElse composition
Changed orElse composition example to better highlight it's
possibilities. This is a follow up PR based on a discussion on
akka-user: https://groups.google.com/forum/#!topic/akka-user/vVUZPMeJmzw
2014-02-20 09:19:04 +00:00
Patrik Nordwall
f29f6f40eb =pro Exclude target directories from find in publish_samples.sh
* It found activator.properties in target directories
2014-02-20 09:09:42 +01:00
Patrik Nordwall
90133e20c0 Merge pull request #2015 from jozic/dilated
=tes,act,doc Make dilated an extension method and deprecate TestKit.dila...
2014-02-19 15:00:54 +01:00
Patrik Nordwall
e3a7138991 Merge pull request #2020 from akka/wip-3882-sharding-watch-after-recovery-patriknw
=con #3882 Defer watch in ClusterSharding until after recovery
2014-02-19 14:57:44 +01:00
Patrik Nordwall
1e3f8b7777 Merge pull request #2019 from akka/wip-3880-sharding-terminated-patriknw
=con #3880 Keep track of all shards per region in ClusterSharding
2014-02-19 14:57:17 +01:00
Patrik Nordwall
639fd698e7 Merge pull request #2012 from akka/wip-3871-SurviveNetworkInstabilitySpec-patriknw
=clu #3871 Harden SurviveNetworkInstabilitySpec
2014-02-19 14:56:53 +01:00
Patrik Nordwall
96f6dd3bc5 Merge pull request #2022 from drewhk/wip-3879-sysmsg-redelivery-bailout-drewhk
=rem #3879: Stop sysmsg redelivery for unknown systems after a timeout
2014-02-19 14:56:21 +01:00
Patrik Nordwall
13cc76cd67 Merge pull request #2021 from akka/wip-make-ConsistencySpec-more-consistent-√
=act - Make ConsistencySpec more consistent (has been prone to intermitt...
2014-02-19 14:56:05 +01:00
Endre Sándor Varga
e69d068cc0 =rem #3879: Stop sysmsg redelivery for unknown systems after a timeout 2014-02-19 14:44:19 +01:00
Viktor Klang
98e8247187 =act - Make ConsistencySpec more consistent (has been prone to intermittent failures in the past 2014-02-19 12:33:20 +01:00
Patrik Nordwall
2548ebd727 =clu #3871 Harden SurviveNetworkInstabilitySpec
* The problem was that the unreachability observed by second node
  was leaking from previous test step and when adding the blackhole,
  it could not heal and that caused the leader to not be able to remove
  the downed second node because some other nodes were still marked as
  unreachable.
* The first node was not included in the the awaitAllReachable check
  in the previous step, and the order of awaitAllReachable and
  awaitMembersUp was wrong.
* Included the awaitAllReachable check in assertCanTalk.
* Changed to two-way blackhole and using barrier instead of scheduled
  event to trigger the exceptions when the blackhole was in place
* We should investigate if unreachable observations from downed node
  can be excluded in the convergence check. Created separate ticket for
  that 3875.
2014-02-19 11:42:16 +01:00
Patrik Nordwall
5d2761b81c =con #3882 Defer watch in ClusterSharding until after recovery
* To avoid unnecessary and costly watch/unwatch to non-existing systems.
* This avoids the problematic scario revealed in ticket 3879
2014-02-19 08:33:35 +01:00
Patrik Nordwall
21e8f89f53 =con #3880 Keep track of all shards per region in ClusterSharding
* The problem was that ShardRegion actor only kept track of one shard
  id per region actor.  Therefore the Terminated message only removes
  one of the shards from its registry when there are multiple shards
  per region.
* Added failing test and solved the problem by keeping track of all
  shards per region
* Also, rebalance must not be done before any regions have been
  registered
2014-02-19 08:11:11 +01:00
Eugene Platonov
b1d794e9af =tes,act,doc Make dilated an extension method and deprecate TestKit.dilated in favor of JavaTestKit.dilated 2014-02-14 18:35:51 -05:00