Commit graph

20524 commits

Author SHA1 Message Date
Patrik Nordwall
db74c33130 remove deprecated constructor in serializers, #21423 2017-01-24 13:34:05 +01:00
Patrik Nordwall
cc8c543b90 remove deprecated util.Crypt, #21423 2017-01-24 13:32:47 +01:00
Patrik Nordwall
e69fc6e934 remove some deprecated event bus classes, #21423 2017-01-24 13:32:46 +01:00
Patrik Nordwall
5afa66589f remove deprecated ActorPath.ElementRegex, #21423 2017-01-24 13:32:46 +01:00
Patrik Nordwall
0f8f47878b remove deprecated ActorSystem termination methods, #21423
* those were deprecated by #15757 before 2.4.0
2017-01-24 13:32:46 +01:00
Patrik Nordwall
3e7ffd6b96 Add support for delta-CRDT, #21875
* delta GCounter and PNCounter
* first stab at delta propagation protocol
* send delta in the direct write
* possibility to turn off delta propagation
* tests
* protobuf serializer for DeltaPropagation
* documentation
2017-01-24 13:24:45 +01:00
Adam Voss
2a9fa234a1 Fix rel="canonical" links (#22132)
Particularly, this now appropriately indicates Akka HTTP documentation.

In both cases it no longer points to a destination with status code 404.
2017-01-24 12:49:58 +01:00
Patrik Nordwall
f409c06c78 Promote Distributed Data, #22201 2017-01-24 12:49:27 +01:00
Patrik Nordwall
1700cdaebc Promote WeaklyUp and enable by default, #22197 2017-01-24 12:31:32 +01:00
Patrik Nordwall
b57c97215b Merge pull request #22189 from akka/wip-deps
Update Aeron to 1.1.0
2017-01-24 11:51:54 +01:00
Patrik Nordwall
6d1d1a13a7 Merge pull request #22194 from akka/wip-22191-eager-init-CoordinatedShutdown-patriknw
eager initialization of CoordinatedShutdown, #22191
2017-01-24 11:50:33 +01:00
Patrik Nordwall
b6f4bddea3 Merge pull request #22118 from akka/wip-22117-proxy-remove-patriknw
stop ClusterSingletonProxy when self member removed, #22117
2017-01-24 11:49:51 +01:00
Patrik Nordwall
99be3cb7b5 Promote PersistenceFSM, #21190 2017-01-24 11:21:37 +01:00
Patrik Nordwall
9de19bf312 eager initialization of CoordinatedShutdown, #22191
* e.g. the jvm shutdown hook should be installed immediately
* noticed that it was initialized from artery shutdown
* run-by-jvm-shutdown-hook=off in multi-jvm tests
2017-01-23 21:35:45 +01:00
Patrik Nordwall
d1ba2c1aae Merge pull request #22193 from akka/wip-adaptive-pool-patriknw
change router type in cluster.StressSpec
2017-01-23 21:20:02 +01:00
Patrik Nordwall
af142f82fd change router type in cluster.StressSpec
* it was an oversight when old cluster metrics was removed
2017-01-23 21:18:25 +01:00
Patrik Nordwall
04846f4528 Merge pull request #22003 from akka/wip-lambda-patriknw
Improvements of AbstractActor API, #21717
2017-01-23 19:59:19 +01:00
Konrad `ktoso` Malawski
bca071fa81 Update Aeron to 1.1.0
If we think we can bump such. I think we could since used internally mostly anyway hm.

https://github.com/real-logic/Aeron/releases/tag/1.1.0
2017-01-23 19:29:11 +01:00
Patrik Nordwall
e7144eef02 rename lambda doc files, #21717 2017-01-23 18:30:52 +01:00
Patrik Nordwall
4bd6b7aab1 improve AbstractActor, #21717
* Receive class that wraps PartialFunction, to avoid
  scary scala types
* move AbstractActorContext to AbstractActor.ActorContext
* converting docs, many, many UntypedActor
* removing UntypedActor docs
* add unit test for ReceiveBuilder
* MiMa filters
* consistent use of getContext(), self(), sender()
* rename cross references
* migration guide
* skip samples for now
* improve match type safetyi, add matchUnchecked
  * the `? extends P` caused code like this to compile:
    `match(String.class, (Integer i) -> {})`
  * added matchUnchecked, since it can still be useful (um, convenient)
    to be able to do:
    `matchUnchecked(List.class, (List<String> list) -> {})`
* eleminate some scala.Option
  * preRestart
  * findChild
  * ActorIdentity.getActorRef
2017-01-23 18:30:52 +01:00
Patrik Nordwall
3617fe8b41 Merge pull request #22130 from akka/wip-21647-pruning-patriknw
make pruning of CRDT garbage work, #21647
2017-01-23 16:54:53 +01:00
Patrik Nordwall
952be31a7d make pruning of CRDT garbage work, #21647
* fix merge issues of DataEnvelope and its pruning
* simplify by removing the tombstones, which didn't work in all cases anyway
* keep the PruningPerformed markers in the DataEnvelope until configured
  TTL has elapsed (wall clock)
* simplify PruningState structure
* also store the pruning markers in durable data
* collect removed nodes from the data, listing on MemberRemoved is not enough
* possibility to disable pruning altogether
* documented caveat for durable data
2017-01-23 16:54:02 +01:00
Johan Andrén
c384f948ae timeout cancelation in PersistentFSM #22166 2017-01-23 16:29:12 +01:00
Johan Andrén
59dce7c6b6 Custom ActorSystem creation in MultiNodeSpec #22180 2017-01-23 16:21:20 +01:00
Patrik Nordwall
c5d18c30d6 Merge pull request #22159 from akka/wip-22154-ddata-remembering-entities-patriknw
rememberingEntities with ddata mode, #22154
2017-01-23 12:54:22 +01:00
Patrik Nordwall
eb8ebd09bd stop ClusterSingletonProxy when self member removed, #22117 2017-01-23 11:59:12 +01:00
Patrik Nordwall
37679d307e rememberingEntities with ddata mode, #22154
* one Replicator per configured role
* log LMDB directory at startup
* clarify the imporantce of the LMDB directory
* use more than one key to support many entities
2017-01-23 11:57:52 +01:00
Patrik Nordwall
8fd5b7e53e Merge pull request #22165 from akka/wip-22150-stash-before-load-patriknw
stash messages while Replicator is loading durable data, #22150
2017-01-23 11:34:34 +01:00
Patrik Nordwall
b07c0858ef Merge pull request #22044 from akka/wip-22041-ser-fun-patriknw
serialize Scala 2.12 functions when used in remote deployment, #22041
2017-01-23 11:22:23 +01:00
Alex Bezhan
a7d9cdcb12 Fix a typo 2017-01-22 15:35:17 +01:00
Patrik Nordwall
8292500631 Merge pull request #22011 from Chuwiey/circuit-breaker-docs
Improve CircuitBreaker documentation #21879
2017-01-20 14:18:39 +01:00
Patrik Nordwall
b72ca92799 serialize Scala 2.12 functions for when used in remote deployment, #22041 2017-01-20 14:09:21 +01:00
Patrik Nordwall
5de92866ee Merge pull request #22172 from akka/wip-samples-coordinated-patriknw
Don't shutdown ActorSystem in tests
2017-01-20 13:58:25 +01:00
Patrik Nordwall
452b3f1406 remove old deprecated cluster metrics, #21423
* corresponding was moved to akka-cluster-metrics, see
  http://doc.akka.io/docs/akka/2.4/project/migration-guide-2.3.x-2.4.x.html#New_Cluster_Metrics_Extension
2017-01-20 13:48:36 +01:00
ortigali
6aa67703a8 add serialize-messages=off #22128 2017-01-20 13:34:23 +01:00
Patrik Nordwall
4722252bf1 cleanup old migration guides (#22164) 2017-01-20 13:33:23 +01:00
Patrik Nordwall
611dc93261 add note about CoordinatedShutdown and tests, #21537 2017-01-20 13:25:29 +01:00
Patrik Nordwall
9ad8b2e997 Don't shutdown ActorSystem in tests
* changes due to new coordinated shutdown behavior
2017-01-20 11:35:56 +01:00
Patrik Nordwall
572d0c8040 stash messages while Replicator is loading durable data, #22150 2017-01-19 12:55:28 +01:00
Patrik Nordwall
d276a31c34 Merge pull request #22152 from dluc/patch-1
Update cluster-usage.rst, fix typo
2017-01-18 17:10:52 +01:00
Patrik Nordwall
ea2be84646 Merge pull request #22143 from ortigali/wip-doc-event-stream
Remove extra parameter to match constructor of Listener class
2017-01-18 17:09:17 +01:00
Patrik Nordwall
b3e4581a9e Merge pull request #22157 from inakov/wip-21618-ddata-read-write-majority-with-min-cap-new-inakov
Add minimum cap for ReadMajority/WriteMajority #21618
2017-01-18 16:41:10 +01:00
inakov
e043a9fffe Add minimum cap for ReadMajority/WriteMajority #21618 2017-01-18 14:13:40 +02:00
ortigali
d650671d34 define Listener classes as top level class and remove unused AnyRef instance 2017-01-18 17:06:34 +05:00
Johan "Party Cannon" Andrén
91d6a3f125 #22147 show the cause of the error stopping durable store 2017-01-18 09:19:49 +01:00
Devis Lucato
bbc37d26d4 Update cluster-usage.rst, fix typo
Just added a missing "." in a sentence
2017-01-17 17:19:12 -08:00
Patrik Nordwall
6c8a69109a Merge pull request #22138 from VEINHORN/master
Remove unnecessary new keywords
2017-01-17 19:31:45 +01:00
Patrik Nordwall
c61ed5a240 Merge pull request #22146 from akka/wip-22145-exclusive-Sequence-patriknw
use exclusive fromSequenceNumber in eventsByTag, #22145
2017-01-17 17:48:35 +01:00
Patrik Nordwall
14e0a70b46 Merge pull request #22142 from inakov/wip-distributed-data-delete-api-update-new-inakov
Update DistributedData Delete API to include optional request context. Clear Pull Request
2017-01-17 17:15:15 +01:00
Patrik Nordwall
fcddd5fa72 Merge pull request #22144 from jgordijn/22140-test-failure-ReplicatedDataSerializer-jgordijn
#22140 fixed ReplicatedDataSerializerSpec error with artery serializers
2017-01-17 10:51:29 +01:00