Commit graph

21711 commits

Author SHA1 Message Date
Christopher Batey
009214ae07
Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
Christopher Batey
bd2a3de88a
Typed async testkit (#24203)
* Typed async testkit
* Pull out useful parts from internal TypedSpec into a public TestKit
* Port internal tests to use the external testkit
2018-01-04 15:09:38 +00:00
Christopher Batey
c7cbebb534 Fix record overflow race condition in flight recorder #21992
The flag used to show a record is dirty/commited was overwritten by the
last 4 bytes of the previous metadata. Most of the time this isn't
caught as the record is written fixed width and typically the last bytes
are 0s which is the same as the Commited flag. However under
concurrency this can overwrite the Dirty flag that is preventing
corruption.
2018-01-04 13:37:16 +01:00
Pritam Kadam
37f0da17b7 Allow member to leave a cluster via CoordinatedShutdown.run when MemberStatus is Joining/WeaklyUp/Up. (#24152) 2018-01-04 07:43:25 +00:00
Nafer Sanabria
1dffa344c4 Fail fast on empty string persistenceId in PersistentActor (#24239) 2018-01-03 22:22:44 +01:00
kerr
5a66976683 update java and scala doc to use the terminate method (#24233) 2018-01-03 14:18:06 +01:00
kerr
7943bd5f96 fix up AbstractActor's Java doc. (#24212) 2018-01-03 12:51:54 +01:00
Łukasz Drygała
0c0bf91661 rewrite FlatSpec tests using WordSpec #24186 2018-01-03 12:51:27 +01:00
Ayush Mishra
6d6e96179d Adding new book reference for Akka HTTP (#24218) 2018-01-03 12:47:11 +01:00
kerr
7edf3bfecf + actor #15446 add external predicate to ReceiveBuilder (#24221) 2018-01-03 10:23:31 +01:00
Sebastian Harko
9ccf71076a Docs: add dependency info in docs for akka test kit (#24232)
* add proper dependency in docs

* use new paradox syntax for dependencies

* Update testing.md
2018-01-03 10:07:37 +01:00
Manuel Bernhardt
86ab6cbadc Fixing small error in the ORMap documentation (#24227)
Previously `remove` and `delete` were duplicated
2018-01-02 17:17:04 +01:00
kerr
0f0ea65988 = paradox fix typo (#24207) 2017-12-26 16:25:31 +01:00
Nafer Sanabria
a2b3b836ab Upgrade to sbt 1.1.0-RC4 (#24206) 2017-12-25 14:30:04 +01:00
Christopher Batey
7aa831bc2f
Initial pass of typed testkits + documenation (#24187)
* Initial pass of typed testkits

Not expecting this to be the final API just want to get some
examples documented and internals hidden

Refs #23667 and #22764
2017-12-22 16:44:39 +00:00
Christopher Batey
2aab0762dd
Remove death watch and supervision mechanics (#24198)
These were missed in #24176

Also some removal of unused imports and a couple compiler warnings
2017-12-22 15:58:05 +00:00
Christopher Batey
bfbdf89776
Initial docs for typed persistence (#24197) 2017-12-22 13:43:36 +00:00
Patrik Nordwall
b395be2559 document rolling upgrade of serializers (#24200) 2017-12-22 09:06:51 +00:00
lorenzhawkes
124e6030d2 Use System.getProperty for ttl values found using legacy sun properties #24188 2017-12-21 19:48:34 +01:00
Christopher Batey
5f576a4bc5 Upgrade to SBT 1.1.0-RC2 (#24181)
This might be worth trying before the release as it contains a fix for
the NPE
2017-12-21 11:32:09 +01:00
Christopher Batey
2fa39894e6
New docs tree for akka typed (#24182)
* New typed docs tree and coexistence with scala examples
* Coexistence Java examples
* Document how to convert untyped system to typed
2017-12-21 10:15:43 +00:00
Christopher Batey
1a7065f09d
Move misc serialiser to akka-typed from akka-cluster-typed (#24184)
This was a problem introduced by the separate typed modules. In untyped
this lives in remote.

This is an issue when trying to use persistence without clustering.
2017-12-21 07:32:42 +00:00
Arnout Engelen
bd71487646
Update sbt-api-mappings (#23843) (#24157) 2017-12-19 18:03:54 +01:00
Christopher Batey
ac6c103419
Merge pull request #24176 from chbatey/typed-impl-removal
* Typed actor system impl removal
* Change typed tests to use word spec
* Put typed EventStream into akka.event..typed rather than akka.typed
2017-12-19 16:45:36 +00:00
Christopher Batey
d85bf14bc6 Move typed EventStream to akka.event.typed package 2017-12-19 15:15:26 +00:00
Akinmolayan Olushola
217b390ec5 made correct to sentence in documentation (#24180) 2017-12-19 15:51:59 +01:00
Christopher Batey
97180eb6ed Use Wordspec for all tests
It was discussed and team agreed we'd rather have consistent tests even
if the compilation is slightly slower.
2017-12-19 12:59:46 +00:00
WangYifu
7c62d52151 delete unnecessary code (#24168) 2017-12-19 11:44:38 +01:00
Konrad `ktoso` Malawski
9d734af11d
Reactive Streams 1.0.2 (#24178) 2017-12-19 10:30:00 +01:00
Patrik Nordwall
483ddf4783
Merge pull request #24170 from akka/wip-aeron-1.7.0-patriknw
Aeron 1.7.0
2017-12-19 10:08:43 +01:00
Steffen Gebert
0a77e79bf3 =doc Fix typos in Distributed Data section (#24164)
* =doc receiveUpdateResoponse typo
* =doc and -> an typo
2017-12-19 07:23:45 +00:00
Sakthipriyan Vairamani
dbe30bd91e update grammar and code highlighting (#24174) 2017-12-19 07:22:06 +00:00
Christopher Batey
c394ee7aaa Remove akka typed actor system implementation
The end goal for akka is to have a new runtime that can be optomoized
for typed actors. However to get the API production ready so it can
start getting adopted  it has been decided to only have adapted actor
systems initially.

Further discussion here: https://github.com/akka/akka/issues/24149
2017-12-18 16:42:33 +00:00
Christopher Batey
f7b3b483a8
Separate typed into modules (#24173)
Creates the following modules:

akka.actor.typed
akka.persistence.typed
akka.cluster.typed
akka.cluster.sharding.typed

Differences from untyped:

DData and cluster singleton are inside cluster. DData is in the package akka.cluster.dddata.typed

Refs #23632
2017-12-18 14:50:46 +00:00
Patrik Nordwall
905e61664b Aeron 1.7.0 2017-12-17 17:34:07 +01:00
Patrik Nordwall
d2fd897926 tmp fix failing CoordinatedShutdownShardingSpec, #24113 (#24163)
* The real issue that should be fixed is that there seems to be a race
  between the CS and the ClusterSingleton observing OldestChanged
  and terminating coordinator singleton before the graceful sharding stop is done
2017-12-15 10:43:26 +01:00
Konrad `ktoso` Malawski
f6b01f43f1
update jmh plugin (#24131)
Which now can work on mac and even generate flamegraphs there!
Details: https://twitter.com/ktosopl/status/939532881797439489
2017-12-15 09:14:01 +01:00
Christopher Batey
3bd05ce67e MultiDcSplitBrainSpec: Turn on gossip loggig; Increase gossip frequency (#24024)
The last time this failed there was no gossip to or from a node that
didn't see fifth coming back.

Also note that this test doesn't quite test what it says as the split
brain is repaired before starting the second actor system but without
extensions to the multi jvm test kit this can't be improved.

Refs #23306
2017-12-14 22:26:27 +01:00
Shajahan Palayil
e8ff22e035 Correcting migration guide to configure serialization of messages (#24159) 2017-12-14 16:45:36 +01:00
Ignasi Marimon-Clos
69cf05f917 Specify user-provided hooks are not disabled (#24136) 2017-12-14 16:41:46 +01:00
Ignasi Marimon-Clos
752f380cf6 Formatting: used textile instead of markdown. (#24139) 2017-12-14 16:40:58 +01:00
Philippus Baalman
615094fa5f Remove superfluous 'for' in log message (#24148) 2017-12-14 12:30:22 +01:00
Arnout Engelen
6541d3d19e
Split up 'Networking' docs in 'Networking' and 'Clustering' (#24142)
We also probably want to add some more wording explaining you probably don't
want to use remoting directly, but either use a 'proper' protocol like
akka-http to loosely couple or akka-cluster for more coupled systems, but that
could be another PR

Move 'networking' below 'streams' as you don't typically have to deal with it directly
2017-12-14 11:33:41 +01:00
Philippus Baalman
d64f7b2b66 Update Scala 2.11.x version to 2.11.12 (#24033) 2017-12-14 09:58:59 +01:00
Christopher Batey
2a51ea8be2 Fix doc typo in sharding doc (#24151) 2017-12-14 09:50:03 +01:00
Johan Andrén
29bf978fa9
Do not publish typed tests #24125 2017-12-11 11:18:43 +01:00
Johan Andrén
be3766d0ae
Post 2.5.8 fixes (#24128)
* Update MiMa latest release
* Silence some noise from sbt breaking the relase script
* MiMa excludes we had missed for a couple of releases
2017-12-08 16:53:47 +01:00
Johan Andrén
582f6a4836
Revert source incompatible sharding changes (#24126)
* Revert "fix entityPropsFactory id param, #21809"
This reverts commit cd7eae28f6.
* Revert "Merge pull request #24058 from talpr/talpr-24053-add-entity-id-to-sharding-props"
This reverts commit 8417e70460, reversing
changes made to 22e85f869d.
2017-12-07 17:49:29 +01:00
Patrik Nordwall
cd7eae28f6 fix entityPropsFactory id param, #21809 2017-12-07 13:17:04 +01:00
Konrad `ktoso` Malawski
f96e00ea83 =str use 1.0.2-RC1 TCK, without bumping the API dependency yet (#24108) 2017-12-07 10:25:52 +00:00