Commit graph

21436 commits

Author SHA1 Message Date
Alexander Golubev
d706d5344b +str add java Compression.gzip and deflate (#23779) 2017-10-05 22:33:07 -07:00
Patrik Nordwall
ae0b9fe081 https for snapshot repo (#23780) 2017-10-04 09:29:29 -07:00
Johan Andrén
9e68d6e88f Fork tests #22979 2017-10-04 14:22:25 +02:00
Johan Andrén
b03b777040 Fail ignore sink matval on abrupt termination #23726 (#23728) 2017-10-04 09:29:19 +02:00
Aleksey Nikiforov
df77df4b02 SharedKillSwitch memory leak fix #23622 2017-10-04 09:02:16 +02:00
Johan Andrén
c581da4e98 Widen within spans downwards in PersistentFSMSpec (#23715)
* Widen within spans downwards in PersistentFSMSpec #23691

* Adjust times instead
2017-10-03 18:51:23 +02:00
novacekm
96ffced4dc = #23749 Fixes logging when serialization is not defined on NotSerializableException (#23750) 2017-09-29 11:09:57 +09:00
Johan Andrén
26e0a4f00b Clean up JVM shutdown hooks on actor system termination (#23514) 2017-09-28 13:03:48 +02:00
Patrik Nordwall
f85a124a17 Merge pull request #23563 from nick-nachos/wip-21677-leveldbJournalCompaction
Added journal compaction behavior for LevelDB #21677
2017-09-28 12:34:18 +02:00
Patrik Nordwall
60378954ee Merge pull request #23745 from akka/wip-multi-dc-doc-patriknw
incorporate feedback on the multi-dc docs
2017-09-28 11:30:27 +02:00
Patrik Nordwall
689920fefd incorporate feedback on the multi-dc docs 2017-09-28 10:56:32 +02:00
Johannes Rudolph
d2827ef982 =per #23739 deprecate State.using to deter Java users (#23740)
`State.using` is a valid pattern in regular FSM. However, for persistent FSM
it makes no sense and is marked as `private[akka]`. The `private[akka]` modifier does
not translate into bytecode so that Java users won't see that it should not be used.

Deprecating it will allow us to remove it in the future.

Fixes #23739.
2017-09-28 10:54:38 +09:00
Konrad `ktoso` Malawski
136ebcb67c =io #23404 stop using sun.net.InetAddressCachePolicy, JDK9 prep 2017-09-27 13:58:19 +02:00
Christopher Batey
6458fed725 Fix race in CircuitBreakerSpec #23413 (#23729)
The successful Future could complete after one of the Failure futures as
they're all a call to Future.apply so scheduled on different threads.
2017-09-27 15:33:37 +09:00
Konrad `ktoso` Malawski
40228e851d =doc #23421 move Kill docs around and fix snippet (#23429) 2017-09-27 15:32:01 +09:00
Patrik Nordwall
6498cc234d fix debug logging in Receptionist and TimerScheduler (#23725) 2017-09-27 15:16:01 +09:00
Patrik Nordwall
a10b00ed02 harden RestartSpec, less timing sensitive, #23593 (#23731) 2017-09-26 21:46:52 +09:00
Johan Andrén
af5f84ddac mockito version supporting jdk9 #23402 2017-09-26 08:51:53 +02:00
Christopher Batey
4a2b6b23e5 Remove structural type that relies on runtime type in sun.nio #23400, #23403 2017-09-26 08:43:52 +02:00
Patrik Nordwall
776191c31d Merge pull request #23595 from akka/wip-23585-multi-dc-restart-patriknw
Verify removal and add of new node incarnation in multi-dc, #23585
2017-09-25 17:58:48 +02:00
Patrik Nordwall
6085f78b72 Merge pull request #23617 from akka/wip-22156-lost-refuseUid-patriknw
Keep the refuseUid in a better way, #22156
2017-09-25 17:57:58 +02:00
Patrik Nordwall
5fc6d5a04a Verify removal and add of new node incarnation in multi-dc, #23585
* MemberRemoved must be published before MemberUp, e.g. when restarted
  in other DC
* remove from failureDetector when receiving gossip with new member,
  not only new joining member

* increase timeout in MultiDcSingletonManagerSpec
2017-09-25 16:47:06 +02:00
Kirill Yankov
dfd94d3aea New implementation of expectNoMsg in TestKit #23224 2017-09-25 16:37:47 +02:00
Patrik Nordwall
cd4ee59cc8 Add parameter eagerClose to Flow.interleave #22710 (#23718)
* overloaded methods added for binary compatibility
* Doc improve: remove unnecessary example, reword eagerClose description
* Test eagerClose = true when other stream closed
2017-09-25 23:26:54 +09:00
Patrik Nordwall
d660f8971e Keep the refuseUid in a better way, #22156
* The scenario described in the issue can cause the quarantine marker to
  be lost when creating a new endpoint for that address. Then when later
  creating another endpoint from an inbound connection the uid is considered
  confirmed and Ack message is accepted, triggering the unexpected seq number
  issue.
* The refuseUid was kept in the endpoint policy markers, but that is just very
  complicated and as illustrated by this issue not always safe.
* Instead, keep the refuseUid separately so it's not lost when registering
  new endpoint.
* The purpose of WasGated was only to try to keep the refuseUid (as far as I know),
  and that is not needed any longer.

mima filter
2017-09-25 16:25:09 +02:00
Guido Medina
9df5d80268 Java 9 Unsafe access to String value type mismatch. (#23710)
It needs to account for both Java 8 and 9 where the types are char[] and byte[] respectively.
2017-09-25 23:22:49 +09:00
gosubpl
9d7b81f11c fix issue with vvector handling in ORSet.mergeRemoveDelta #22890 2017-09-25 16:16:20 +02:00
Patrik Nordwall
12196d674e enforce same DC for isOlderThan, #23307 (#23625) 2017-09-25 11:50:28 +02:00
Christopher Batey
b43bdc49d8 Merge pull request #23713 from chbatey/docs-mjvm-link
=doc Fix multi jvm sample link
2017-09-25 10:21:19 +01:00
Rafał Sumisławski
d4c929d771 Make sending messages to dead letters by DistributedPubSubMediator configurable. #23462 (#23615) 2017-09-25 11:15:06 +02:00
Christopher Batey
d8cd40d250 =doc Fix multi jvm sample link 2017-09-25 09:46:25 +01:00
Christopher Batey
4669b4854d Fix minor docs typo (#23709) 2017-09-24 19:15:15 +02:00
Cause Chung
5892c2a569 Add more doc for framing on tcp streaming #23325 2017-09-23 12:09:05 +02:00
Patrik Nordwall
cd84f7006a Merge pull request #23705 from akka/wip-23690-sharding-EntityTypeKey-patriknw
EntityTypeKey in typed Cluster Sharding, #23690
2017-09-22 18:26:47 +02:00
Patrik Nordwall
0a5181c1ce EntityTypeKey in typed Cluster Sharding, #23690 2017-09-22 17:29:34 +02:00
Patrik Nordwall
b9461b721d Merge pull request #23700 from akka/wip-typed-sharding-patriknw
=typ,clu akka typed cluster sharding, #23698
2017-09-22 17:11:41 +02:00
Konrad `ktoso` Malawski
386289ee70 =typ,clu akka typed cluster sharding, #23698 2017-09-22 16:45:18 +02:00
Patrik Nordwall
01de74cf41 Merge pull request #23692 from akka/wip-cleanup-patriknw
provided cluster dependencies in Akka Typed
2017-09-22 16:39:07 +02:00
Patrik Nordwall
5718795aa7 Merge pull request #23644 from hseeberger/23640-actor-signal
Add signal method to Akka Typed DSL (closes #23640)
2017-09-22 16:19:44 +02:00
Patrik Nordwall
579b56a0ee provided cluster dependencies in Akka Typed
* and some additional cleanup
* on my mac upd doesn't work unless loopback address is used
2017-09-22 16:15:24 +02:00
Johan Andrén
846cfe0416 Typed library-extensions were loading the wrong thing (#23701)
* Typed library-extensions were loading the wrong thing

* And that actual fix...

* Formatting
2017-09-22 16:07:06 +02:00
Johan Andrén
ad103db43c Typed actorref serializer to allow for java serialization of messages (#23696)
* typed actorref serializer to allow for java serialization of messages

* review adressed
2017-09-22 15:35:53 +02:00
Patrik Nordwall
9388c69b50 Merge pull request #23688 from akka/andThenWithoutStateParameter
Add 'def andThen(callback: ⇒ Unit)'
2017-09-22 14:57:34 +02:00
Arnout Engelen
f7789103a2 Add 'def andThen(callback: ⇒ Unit)'
Cleans up the examples a bit, though it might make it easier to accidentally
look at the old state rather than the updated state.
2017-09-22 14:13:21 +02:00
Patrik Nordwall
61bbfbf040 Merge pull request #23674 from akka/wip-22273-typed-persistence-patriknw
Persistence API for Akka Typed, #22273
2017-09-22 13:52:44 +02:00
Patrik Nordwall
0c5440c036 Some additional api adjustments, #22273
* rename PersistentEffect to Effect
* change order of parameters, ctx first
* rename onEvent to applyEvent
* persistenceIdFromActorName for Cluster Sharding
* PersistenActor.immutable
2017-09-22 13:52:02 +02:00
Arnout Engelen
6d94eb426b Chaining side effects (callbacks and stopping)
Cleans up the API in a couple of places, but still needs type parameters
in spots where I wouldn't want to need them...

Allow multiple side effects in one 'andThen'

Making type inference actually work

Allow applying multiple side effects

In a way that allows 'inspecting' the effects if you want to, but
doesn't require you to repeat generic parameters when you don't.
2017-09-22 12:44:30 +02:00
Patrik Nordwall
7c1e5f3396 impl and test of signals 2017-09-22 12:44:30 +02:00
Arnout Engelen
25567ea868 Move ApiTest to PersistentActorCompileOnlyTest 2017-09-22 12:44:30 +02:00
Patrik Nordwall
b671d2a47b first impl of Typed PersistentActor, #22273
* illustrate problem with wrapping behavior
2017-09-22 12:44:03 +02:00