Commit graph

21777 commits

Author SHA1 Message Date
Johan Andrén
e81f350b2f
Typed - cleanup canonic #22841 2018-01-18 17:15:32 +01:00
Evgeny Veretennikov
5c68f2f627 #24303 ActorSystem.getWhenTerminated which returns CompletionStage 2018-01-18 14:36:21 +01:00
Christopher Batey
22b256dd4c Keep addition affects if persisting effect is none (#24345) 2018-01-18 13:54:58 +01:00
Patrik Nordwall
6797c74164
Merge pull request #24333 from akka/wip-24071-rename-Actor-patriknw
Rename scaladsl/javadsl Actor to Behaviors, #24071
2018-01-17 17:01:15 +01:00
Patrik Nordwall
14c6440cee Rename scaladsl/javadsl Actor to Behaviors, #24071
* The technical reason for not naming it Behavior is that
  it would be duplicate import conflicts of
  akka.actor.typed.Behavior and akka.actor.typed.scaladsl.Behavior
* Plural naming is pretty common for factories like this,
  e.g. java.util.Collections
2018-01-17 14:58:55 +01:00
Richard Imaoka
38b10683a9 Allow tagging in persistence typed (#24217)
* Allow tagging in persistence typed (#23817)

* Use Set[String] for tags

* Documentation for persistence typed tagging

* Rename tagging parameter to tagger
2018-01-17 14:20:49 +01:00
Patrik Nordwall
f890bc6abf
Merge pull request #24070 from akka/wip-SendQueueSpec-patriknw
additional test of SendQueue
2018-01-16 19:10:43 +01:00
Patrik Nordwall
5cab621e82
Merge pull request #24078 from akka/wip-24055-heartbeat-patriknw
attempt to reproduce heartbeat issue, #24055
2018-01-16 19:10:10 +01:00
Patrik Nordwall
1d0ae12f9c
Merge pull request #24315 from akka/wip-24171-last-node-patriknw
Remove Exiting/Down node from other DC, #24171
2018-01-16 19:08:23 +01:00
Patrik Nordwall
6e15a4a2af harden RemoteDeploymentSpec, #24252
* Wrong message ordering in test
* Reproduced with sleep
2018-01-16 18:32:53 +01:00
Patrik Nordwall
5fdb247488 harden StreamTestKitSpec, #24308 2018-01-16 18:30:33 +01:00
Patrik Nordwall
e4dd3c24fc add maxRestarts to RestartWithBackoff #24129 2018-01-16 18:28:10 +01:00
Johan Andrén
32987c8704
Simpler tls over tcp #24153 2018-01-16 18:05:08 +01:00
Johan Andrén
14c427bd4f More generous timeout in DaemonicSpec (#24322)
* More generous timeout in DaemonicSpec

Also:
 * allow it to complete faster if possible
 * avoid potential race with port number
 * always shut the extra actor system down
 * less dilation
2018-01-16 15:54:20 +00:00
Patrik Nordwall
1f708550ee harden AeronStreamConsistencySpec, #24190 (#24326)
This test is using the tcp ports assigned from the multi-jvm infra (classic remoting)
for the Aeron udp. Even though tcp and udp ports are independent and same port number
can be used at the same time for tcp and udp there is no guarantee that the udp port
is free just because the tcp port was.
2018-01-16 15:49:28 +00:00
Christopher Batey
accfa21731
Fix race in OptionalSnapshotStoreSpec (#24323)
Subscribe to log events before creating the actor otherwise it might
miss the log message it is testing for

Refs #24144
2018-01-16 15:06:42 +00:00
Catalin Ursachi
2360de583d Add streams recipe for 'source from function' (#22074) (#24132) 2018-01-16 15:29:03 +01:00
Johan Andrén
3cafdc65e0 Cleanup of UnfoldResourceAsync and fix for #24119
* More complete test coverage plus one found bug fixed
2018-01-16 15:01:55 +01:00
Patrik Nordwall
c32a1d4174
Merge pull request #24297 from 2m/wip-latest-versions-for-mima-2m
Update the latest versions for MiMa checks
2018-01-16 14:39:13 +01:00
Patrik Nordwall
24f6f17f9d
Merge pull request #24309 from akka/wip-24113-patriknw
harden CoordinatedShutdownShardingSpec, #24113
2018-01-16 13:55:17 +01:00
Patrik Nordwall
e6b2d0d689 harden BasicClusterManualSpec, #24293 (#24318)
* The probe was remote
* Default timeouts too tight for membership changes
2018-01-16 10:51:59 +01:00
Patrik Nordwall
6cb326e171 add label 'good first issue' (#24296) 2018-01-16 09:42:22 +00:00
Johan Andrén
df40ef7bc0
Actually check the shutdown status before materializing anything (#24307) 2018-01-16 09:10:21 +01:00
Catalin Ursachi
0529f1814b Remove redundant Futures tests (#24095) (#24130)
* Remove redundant Futures tests (#24095)

* Cleaned up tests

* Removed FutureSpec.scala
2018-01-16 08:45:01 +01:00
Patrik Nordwall
2733a26540 Remove Exiting/Down node from other DC, #24171
* When leaving/downing the last node in a DC it would not
  be removed in another DC, since that was only done by the
  leader in the owning DC (and that is gone).
* It should be ok to eagerly remove such nodes also by
  leaders in other DCs.
* Note that gossip is already sent out so for the last node
  that will be spread to other DC, unless there is a network
  partition. For that we can't do anything. It will be replaced
  if joining again.
2018-01-16 07:55:49 +01:00
Patrik Nordwall
9e8c10b5a6 harden CoordinatedShutdownShardingSpec, #24113
* There might be one case when the singleton coordinator
  hand over might start before the gracful stop of the
  region is completed on other node.
* I think this is rare enough to just accept that message
  might be sent to wrong location (we don't guarantee anything
  more than best effort anyway).
* Safe rolling upgrade should keep the coordinator (oldest)
  until last to avoid such races
2018-01-16 07:40:45 +01:00
Martynas Mickevičius
6cb3cc5e02
Update whitesource plugin to the latest (#24313) 2018-01-16 09:39:38 +07:00
Patrik Nordwall
fb72274b71 fix compilation error (expectNoMsg) (#24312) 2018-01-15 17:15:45 +01:00
Arnout Engelen
ed9ece49c4 Use expectNoMessage in typed testkit (#24250)
* Use expectNoMessage in typed testkit

Interestingly most calls to expectNoMsg did not appear to expect the parameter
to be dilated

Might be nice to allow configuring a variant that uses a (configurable) default
delay (other than the single-expect-default)

* Add a probe.expectNoMessage with no parameters

If you want to 'just wait a while' and not care too much about how long
exactly, will be dilated.
2018-01-15 15:08:18 +01:00
Patrik Nordwall
d66f6e07dc
Merge pull request #24290 from akka/whitesourceUpdate
Update whitesource
2018-01-15 15:04:04 +01:00
Patrik Nordwall
876eb83ae4
Merge pull request #24292 from akka/updateLeveldb
Update LevelDB
2018-01-15 15:02:43 +01:00
Patrik Nordwall
971049c3bb Test that large messages don't disturb cluster heartbeats, #24055 2018-01-15 10:31:15 +01:00
Patrik Nordwall
f95ab52f10 additional test of SendQueue 2018-01-15 10:13:47 +01:00
Martynas Mickevičius
930d2e9133
#23695 Remove onSignal from typed persistent actor (#24253) 2018-01-12 19:50:49 +07:00
Martynas Mickevičius
de5377e399
Update the latest versions for MiMa checks 2018-01-12 14:30:13 +07:00
Arnout Engelen
ab624c08c0 Update LevelDB (#23907)
The latest version can work with jdk9, previous versions
touched jdk.internal.ref.Cleaner which is no longer allowed
on jdk9.
2018-01-11 17:35:35 +01:00
Arnout Engelen
bfbfe5d817 Update whitesource (#23757)
0.1.8 uses a whitesource release that works under jdk9
2018-01-11 16:37:04 +01:00
Martynas Mickevičius
a3ae494325 #24104 Give a bit of time for consumers to register 2018-01-11 20:02:05 +09:00
Denys Zadorozhnyi
f1de21950d Adds stacktrace to the logged warning in onPersistRejected() (#24263)
Fixes #24133: Switch to log.error from log.warning and add a stacktrace in onPersistRejected()
2018-01-11 11:52:38 +01:00
Johan Andrén
7ce494b262 A bit more text about the clustered receptionist 2018-01-11 18:17:15 +09:00
Johan Andrén
f7b4a08308 Review updates and making the Receptionist API work from Java plus workaround for guardian start race 2018-01-11 18:17:15 +09:00
Johan Andrén
3a9facfe32 Review updates and making the Receptionist API work from Java 2018-01-11 18:17:15 +09:00
Christopher Batey
45c7303d3f Cluster typed examples in scala and java 2018-01-11 18:17:15 +09:00
Christopher Batey
f17dc5c7f7 Receptionist docs and examples 2018-01-11 18:17:15 +09:00
Konrad `ktoso` Malawski
cf455f3c11 Fix MiMa for Untangle settings from attributes in materializer #24063 2018-01-11 14:14:38 +09:00
Johan Andrén
4dde0742d0 Untangle settings from attributes in materializer #24063
Instead of renaming - deprecating and documenting

Renaming defaultInitialAttributes to defaultAttributes and adding docs

Tests passing

More work on using attributes for the attribute settings in ActorMaterializerSettings

Mark some attributes as mandatory and provide a smoother access w/o allocation for those

Another warning notice

MiMa filters

Part of the review adressed

Incorrect rebase fixed + formatting

Review feedback adressed

Formatting ...
2018-01-11 14:14:38 +09:00
Patrik Nordwall
4402c73a53
Merge pull request #24281 from akka/raboof-patch-1
Update sbt-paradox-akka
2018-01-10 17:01:05 +01:00
Arnout Engelen
f441d2e82a
Update sbt-paradox-akka
To the version with the fiddle encoding fix (and more)
2018-01-10 16:26:32 +01:00
Patrik Nordwall
ca945e2746
Merge pull request #24278 from akka/wip-24277-ClusterClientSpec-patriknw
harden ClusterClientSpec, #24277
2018-01-10 12:21:01 +01:00
Konrad `ktoso` Malawski
59a48c728b
+rem #24265 protobuf serializer for Address and UniqueAddress in akka… (#24267)
* +rem #24265 protobuf serializer for Address and UniqueAddress in akka-remote

* remove the duplication, by using previously existing type

* fixed doc link

* make it easier to enable the additional no-java-serialization bindings

* fixed akka-actor failure due to changes

* cleanup

* Update reference.conf

* Update serialization.md

* Update reference.conf
2018-01-10 19:28:51 +09:00