Commit graph

20524 commits

Author SHA1 Message Date
Patrik Nordwall
4322bb11aa Merge pull request #22380 from guidomedina/bump-few-dependency-versions
Bump few dependency versions
2017-02-23 18:00:30 +01:00
Patrik Nordwall
76ae1eb392 Merge pull request #22382 from akka/wip-22330-dns-master-patriknw
Select right IP address based on Java preferences, #22336 (for validation)
2017-02-23 17:15:14 +01:00
Patrik Nordwall
698b814c5d Merge pull request #22364 from akka/wip-22198-contrib-patriknw
deprecate akka-contrib, #22198
2017-02-23 16:48:48 +01:00
Patrik Nordwall
35f951d0e4 Move DnsSpec to multi-jvm test, #22330
* run in separate jvm to avoid issues with parallel test execution
  when modifying global System.properties

(cherry picked from commit 1586afe79be568e3815d62d2fb0179a8a017d568)
2017-02-23 16:09:14 +01:00
Javier Puerto
8a4d976815 Select right IP address based on Java preferences. (#22336)
* Change priority of DNS resolved addresses based on java.net.preferIPv6Addresses property. #22330

* Include test specs for IPv6 resolver selection. #22330

* Use Java system properties to retrieve the IPv6 preference. #22330

(cherry picked from commit 6406c0ed95bf295b27bbb0e7e8e228f5979a1336)
2017-02-23 16:09:08 +01:00
Guido Medina
d64678d4d3 Bump few dependency versions. 2017-02-23 14:22:44 +00:00
Patrik Nordwall
0a47610d17 Merge pull request #22368 from nremond/patch-1
semicolon aren't such a thing in Scala
2017-02-23 14:29:20 +01:00
Johannes Rudolph
47e01f2b07 +str #22376 add javadsl versions of low-level TLS constructors 2017-02-23 14:01:11 +01:00
Johannes Rudolph
9be52cb2c9 +str #22345 #21854 provide forward compatible TLS constructor in stream TLS
This method will be consumed mainly by akka-http.

(cherry picked from commit 7b7a82c1c13dce5710c6cc2923fc7490666d8c79)
2017-02-23 14:01:10 +01:00
Johannes Rudolph
e4491a05cf Revert "=str Remove manual hostname verifier support, used to be included only because Java 6 (#22320)"
Let's revert this until we have decided in #22345 what to do exactly
about it. We will still introduce an overload of TLS.apply that works
without specifying a `verifySession` function.

This reverts commit 021829e21e.

Conflicts:
	project/MiMa.scala
2017-02-23 14:01:10 +01:00
Patrik Nordwall
08cd9cfc91 fix wrong heading in ddata docs 2017-02-23 13:51:39 +01:00
Kirill Yankov
cf73ffd16a expectNextPF with timeout #21314 (#21825)
* expectNextPF with timeout #21314

improved scaladocs

* renamed functions with timeout, returned previous comments for the sake of unification
2017-02-23 13:46:00 +01:00
Patrik Nordwall
ed8a67daa4 Merge pull request #22370 from akka/wip-22363-osgi-range-patriknw
update osgi version import, #22363
2017-02-23 13:11:51 +01:00
ortigali
a175180b44 Convert UntypedActor to AbstractActor #22308 2017-02-23 00:50:07 +05:00
Patrik Nordwall
b2759ab56a Merge pull request #22369 from akka/wip-22366-DaemonMsgCreateSerializer-patriknw
fix byte order issue in DaemonMsgCreateSerializer, #22366
2017-02-22 18:36:56 +01:00
Patrik Nordwall
f2fe8582fa fix serialization of pruning in DurableDataEnvelope 2017-02-22 15:22:44 +01:00
Patrik Nordwall
40b883cda7 Merge pull request #22331 from akka/wip-orset-delta-patriknw
causal delivery of deltas and ORSet deltas, #22188
2017-02-22 15:21:03 +01:00
Patrik Nordwall
234edf3dfe update osgi version import, #22363 2017-02-22 14:36:52 +01:00
gosubpl
3d51111b3c proper implementation of mergeRemoveDelta, #22188 2017-02-22 14:27:36 +01:00
Patrik Nordwall
b700b840d1 causal delivery of deltas, #22188
* keep track of delta interval versions and skip deltas
  that are not consequtive, i.e. when some delta message was lost
* send the delta versions in the full state gossip to sync up the
  expected versions after dropped deltas
* implementation of deltas for ORSet
* refactoring of the delta types to allow for different type for the
  delta and the full state
* extensive tests
* mima filter
* performance optimizations
* simple pruning of deltas
* Java API
* update documentation
* KeyId type alias
* Use InternalApi annotation
2017-02-22 14:27:36 +01:00
Patrik Nordwall
20e43ccd40 fix byte order issue in DaemonMsgCreateSerializer, #22366
* We used the Array based toBinary but the ByteBuffer based fromBinary.
  and IntSerializer is only using the same format for those when the byte order
  is  LITTLE_ENDIAN, which we didn't get from protbuf's asReadOnlyByteBuffer
* We can use the Array based methods in DaemonMsgCreateSerializer,
  performance is not important here
* Added some more testing in PrimitivesSerializationSpec
2017-02-22 13:41:24 +01:00
Nicolas Rémond
6cb5cbfae7 semicolon aren't such a thing in Scala 2017-02-22 12:58:13 +01:00
Johan Andrén
94afbee179 Don't close over TestConductorExt with an actor sent remotely 2017-02-22 09:56:21 +01:00
Patrik Nordwall
46343413e5 note about Camel in migration guide 2017-02-22 09:00:45 +01:00
Patrik Nordwall
048a04b193 deprecate akka-contrib, #22198 2017-02-22 08:48:09 +01:00
Patrik Nordwall
9821865212 deprecate contrib.JavaLogger, include in akka-actor, #22198 2017-02-22 08:36:32 +01:00
Patrik Nordwall
96fb62bb22 deprecate ReceivePipeline, #22198 2017-02-22 08:36:32 +01:00
Patrik Nordwall
db81a3cae8 deprecate Aggregator, #22198 2017-02-22 08:36:31 +01:00
Patrik Nordwall
77b1e87c12 deprecate ReliableProxy, #22198 2017-02-22 08:36:31 +01:00
Patrik Nordwall
25385e15f2 deprecate TimerBasedThrottler, #22198 2017-02-22 08:36:31 +01:00
Patrik Nordwall
bc382afa98 deprecate PeekMailbox, #22198 2017-02-22 08:36:31 +01:00
Patrik Nordwall
ceef901de9 move streams migration guides out of the way 2017-02-22 08:36:31 +01:00
Patrik Nordwall
e770287b01 deprecate CircuitBreakerProxy, #22198 2017-02-22 08:36:25 +01:00
Johan Andrén
734c31fa4f Fix DaemonMsgCreateSerializer #22225 2017-02-21 16:08:16 +01:00
Patrik Nordwall
ad4164d5e3 Merge pull request #22357 from akka/wip-21678-patriknw
Doc - Modify Dispatcher to use simplified thread-pool-config values, …
2017-02-21 15:51:45 +01:00
hhimanshu
c5858da2b8 Doc - Modify Dispatcher to use simplified thread-pool-config values, as described by @ktoso in the the issue (#21572)
Added another example to configure thread-pool-executor based on number of cores. Also removed comment that is not needed anymore.
2017-02-21 15:51:18 +01:00
Patrik Nordwall
ed765f612c Merge pull request #22022 from IanGrima/patch-1
PersistentFSMBase - matchEvent API bug fix
2017-02-21 14:51:08 +01:00
Patrik Nordwall
bf775298f6 Merge pull request #22268 from akka/wip-22113-iter-patriknw
use index access instad of iterator in Broadcast, #22113
2017-02-21 14:45:43 +01:00
Kirill Plyashkevich
c5ba0a3565 #21725 cluster-sharding doesn't delete snapshots and messages (#21777)
* #21725 cluster-sharding doesn't delete snapshots and messages
Fixes #21725
Without deleting messages those pollute persistence with not needed anymore messages. Naive and bullet proof flow is snapshot -> delete messges -> delete snapshots.

# Пожалуйста, введите сообщение коммита для ваших изменений. Строки,
# начинающиеся с «#» будут оставлены; вы можете удалить их вручную,
# если хотите. Пустое сообщение отменяет процесс коммита.
#
# Дата:      Mon Oct 31 23:24:37 2016 +0300
#
# интерактивное перемещение в процессе; над 432b53c
# Последняя команда выполнена (1 команда выполнена):
#    edit f86b015 21725 cluster-sharding doesn't delete snapshots and messages Fixes #21725 Without deleting messages those pollute persistence with not needed anymore messages. Naive and bullet proof flow is snapshot -> delete messges -> delete snapshots.
# Следующая команда для выполнения (1 команда осталась):
#    pick 56adb40 #21725 keeping N number of batches (messages and snapshot) using N from configuration
# Вы сейчас редактируете коммит при перемещении ветки  «fix-21725-delete-messages-after-snapshot» над «432b53c».
#
# Изменения, которые будут включены в коммит:
#	изменено:      akka-cluster-sharding/src/main/scala/akka/cluster/sharding/Shard.scala
#	изменено:      akka-cluster-sharding/src/main/scala/akka/cluster/sharding/ShardCoordinator.scala
#

* #21725 keeping N number of batches (messages and snapshot) using N from configuration
2017-02-21 14:17:19 +01:00
sebbes
59a3596360 Adding debug message when passivate method cannot identify entity (#21886)
* Adding debug message when passivate method cannot identify entity

* Include entity in log message

* Include debug for Some where entity already being processed
2017-02-21 14:08:43 +01:00
Patrik Nordwall
a17cb060ec Merge pull request #22039 from ortigali/wip-21996-RecipeGlobalRateLimit
make maxAllowedWait timeout be dilated
2017-02-21 14:06:07 +01:00
Patrik Nordwall
aa9d4d7706 Merge pull request #22354 from 2m/wip-fix-mbean-spec-2m
#22353 fix mbean expected json format
2017-02-21 13:30:07 +01:00
Patrik Nordwall
37f4436a39 Merge pull request #22349 from hseeberger/22342-dependency-configurations
Fix configuration for persistence-query test deps (fix #22342)
2017-02-21 13:23:53 +01:00
Patrik Nordwall
b3b6dc37fc Merge pull request #22232 from ortigali/wip-22052-PersistentActorSpec-2
customise test for race between GetState and persistAsync handler
2017-02-21 12:58:12 +01:00
Heiko Seeberger
78022732b9 Fix configuration for persistence-query test deps (fix #22342) 2017-02-21 12:24:26 +01:00
Martynas Mickevičius
1754625202 #22353 fix mbean expected json format 2017-02-21 13:05:36 +02:00
Patrik Nordwall
6564961d06 Merge pull request #22344 from akka/wip-score-master-patriknw
Adjust the score for the serialization vulnerability (for validation)
2017-02-21 10:44:04 +01:00
drewhk
0f764f5b43 #21965: Modify CompressionIntegrationSpec to not assume ordering in compression advertisements 2017-02-21 09:26:55 +01:00
Richard Imaoka
6936c09e4e Fix JSON formatting of the jmx-cluster/akka-cluster tool #21250 2017-02-20 14:55:43 +01:00
Johan Andrén
8b5018ba21 Fix AbstractPersistentActor ambiguity with Scala 2.12 #22218 2017-02-20 14:50:25 +01:00