Commit graph

390 commits

Author SHA1 Message Date
Raymond Roestenburg
2404a9da01 #19246 Auto and manual reset and BackoffOptions.
Also moved `TransparantExponentialBackoffSupervisor` to `akka.pattern` (renamed to `BackoffOnRestartSupervisor`)
2015-12-29 21:23:16 +02:00
Patrik Nordwall
a1c3dbe307 =act #19201 improve configuration of thread-pool-executor
* The old implementation would cap the pool size (both corePoolSize
  and maximumPoolSize) to max-pool-size, which is very confusing
  becuase maximumPoolSize is only used when the task queue is bounded.
* That resulted in configuring core-pool-size-min and core-pool-size-max
  was not enough, because it could be capped by the default max-pool-size.
* The new behavior is simply that maximumPoolSize is adjusted to not be
  less than corePoolSize, but otherwise the config properties match the
  underlying ThreadPoolExecutor implementation.
* Added a convenience fixed-pool-size property.
2015-12-21 09:50:02 +01:00
Johan Andrén
c85b4d4a80 =doc #16262 do not bind udp test to docker interfaces 2015-12-08 16:47:42 +01:00
Konrad Malawski
ec96c5ddb7 =per,tck #18639 introduce capability flags for journal features 2015-11-27 10:29:34 +01:00
Andrea
cd3d68a77c =act switch to java std lib ThreadLocalRandom 2015-11-06 14:04:33 +01:00
Kailuo Wang
90cba9ce0d +act #18356 Metrics based resizer for router 2015-10-22 11:14:00 -04:00
Patrik Nordwall
5bd245fbc8 !per #18463 Make Persistence Query API explorable
* make the standard queries "single method interfaces" that may be implemented
  by a query journal plugin
* remove hints (major problems with varargs anyway), the hints for standard
  queries  should be given in configuration instead, e.g. refresh-interval
2015-09-17 10:43:13 +02:00
Johan Andrén
93c9eff86e =doc 17371 avoid using awdl0 interface in tests 2015-09-16 16:06:09 +02:00
Patrik Nordwall
be033b11f0 Merge pull request #18412 from akka/wip-18228-java-evolution-guide-patriknw
=per #18228 Convert Persistence schema evolution guide to Java
2015-09-16 10:52:35 +02:00
Patrik Nordwall
f13143e7da =per #18228 Convert Persistence schema evolution guide to Java 2015-09-16 10:52:03 +02:00
Johan Andrén
996ad35495 =doc #18226 document actor stopping 2015-09-08 11:14:18 +02:00
Patrik Nordwall
0b1f280739 =per #18342 Improve docs for leveldb plugin config
* clarify how to enable the plugin
* added empty class property in fallback config in reference
  to have a proper place to document that and throw a more
  specific exception if it is not defined
* also some formatting of reference.conf
2015-09-04 11:49:00 +02:00
Patrik Nordwall
f98b4c1f5e =clu #18345 Support local address in cluster commands
* and clarify the doc sample for leave
2015-09-04 08:53:36 +02:00
Patrik Nordwall
d63e5417b7 !per #18360 Move Tagged to akka.persistence.journal
breaking api since 2.4.0-RC1, but only related to new things in 2.4 anyway
2015-09-01 08:15:01 +02:00
Konrad Malawski
05825008ea =doc code snippet include in persistence docs (scala) was broken 2015-08-23 21:12:01 +02:00
Patrik Nordwall
3d4b5f57b0 Merge pull request #18290 from akka/wip-18288-leveldb-query-doc-patriknw
=per #18288 Add docs of leveldb queries
2015-08-21 15:37:49 +02:00
Konrad Malawski
fb18464b73 Merge pull request #18283 from ktoso/wip--†-blocking-ktoso
=act #17372 warn when non-zero push timeout detected
2015-08-21 15:37:05 +02:00
Patrik Nordwall
fed622eb9f =per #18288 Add docs of leveldb queries 2015-08-21 15:33:21 +02:00
Patrik Nordwall
a94f7cdc98 =clu #15412 Add paths(system) method to Group router
to be able to use the role correctly in cluster aware routers

This solution is very similar to what we did for nrOfInstances
in Pool routers.
2015-08-21 14:40:56 +02:00
Konrad Malawski
3036012e58 =act #17372 warn when non-zero push timeout detected 2015-08-21 14:15:36 +02:00
Konrad Malawski
e1f54d5367 Merge pull request #18269 from ktoso/wip-18128-poisonpill-persistentActor-ktoso
=doc #18128 explain PoisonPill interaction with PA
2015-08-20 15:21:00 +02:00
Konrad Malawski
8c4cc9a93f =doc #18128 explain PoisonPill interaction with PA 2015-08-20 13:57:08 +02:00
Patrik Nordwall
87bc51220d Merge pull request #18264 from akka/wip-18190-leveldb-EventsByPersistenceId-patriknw
+per #18190 leveldb impl of EventsByPersistenceId query
2015-08-19 20:16:01 +02:00
Patrik Nordwall
009d80dd35 +per #18190 leveldb impl of EventsByPersistenceId query
* also changed EventsByPersistenceId query type to return
Source[EventEnvelope]
2015-08-19 18:58:58 +02:00
Konrad Malawski
7679b7e63f Merge pull request #18265 from ktoso/wip-event-adapters-split-ktoso
+per #18137 EventAdapter => can be Read / Write or both
2015-08-19 16:20:16 +02:00
Konrad Malawski
4e59f0ea35 +per #18137 EventAdapter => can be Read / Write or both 2015-08-19 15:26:30 +02:00
Patrik Nordwall
7ec0493923 =per #18219 Find plugin constructor automatically 2015-08-18 16:10:29 +02:00
Konrad Malawski
270c566fea +doc #17613 document persistence schema evolution 2015-08-14 10:50:19 +02:00
Konrad Malawski
3314de4cb9 +per #16541 add missing java samples for persistence query 2015-08-12 20:42:44 +02:00
Patrik Nordwall & Konrad Malawski
893578a8af +per #16541 java docs for persistence query 2015-08-12 18:14:02 +02:00
Patrik Nordwall & Konrad Malawski
f849793f36 +per #16541 initial version of the Persistence Query module 2015-08-11 16:35:28 +02:00
Konrad Malawski
b335b6ae9b +per #16339 adds actorSelection support to AtLeastOnceDelivery
TODO: need to add docs updates
2015-08-11 11:33:15 +02:00
Konrad Malawski
bbd5b2c739 Merge pull request #17925 from ktoso/wip-move-BackoffSupervisor-ktoso
!per +act #17842 move BackoffSupervisor to akka.pattern
2015-07-09 11:14:42 +02:00
Konrad Malawski
86c00d4716 !per +act #17842 move BackoffSupervisor to akka.pattern 2015-07-08 16:45:23 +02:00
Konrad Malawski
874d07c0ae !per #17518 harmonize and document failure handling in persistence
+ added tests for all failure scenarios (callbacks)
2015-07-07 14:50:42 +02:00
Konrad Malawski
bae00cefc1 Merge pull request #17644 from ktoso/wip-docs-better-balancing-dispatcher-ktoso
+doc #17597 improve BalancingPool docs, show configuring executor
2015-07-03 16:31:26 +02:00
Konrad Malawski
dea37d8eae +doc #17597 improve BalancingPool docs, show configuring executor 2015-07-03 16:31:09 +02:00
Patrik Nordwall
da07a2e68e !cdd #17770 Use self recursive type in AbstractReplicatedData (Java API)
* complete the TwoPhaseSet java sample with serialization
2015-07-03 13:51:30 +02:00
Konrad Malawski
0e8dd3a7f4 +doc #17877 document filtering for subclasses in eventStream 2015-07-01 23:17:21 +02:00
Konrad Malawski
33fbfec222 !per,doc,sam #17574 #17626 make recovery a method, move lambda samples
+ LambdaDoc samples now in the docs project
= simplified internal state by removing recoveryPending
= recovery is now triggered in around* method, so user is free to use
  preStart freely - recovery works even if one forgets to call super on
  preStart
2015-06-30 16:01:52 +02:00
Konrad Malawski
83e931ea7e Merge pull request #17828 from ktoso/wip-nested-persist-ktoso
~per #15640 support nested persist calls
2015-06-26 12:53:16 +02:00
Konrad Malawski
a59c9f73b6 =per #15640 support nested persist/persistAsync 2015-06-26 10:54:32 +02:00
Patrik Nordwall
4638f5630e !per #17832 Remove SyncWriteJournal 2015-06-26 07:12:11 +02:00
Patrik Nordwall
6eea0ddae6 !per #17799 Remove support for non-permanent deletes
* The permanent flag in deleteMessages
* old records stored with deletion flag are still not
  replayed
2015-06-25 15:43:45 +02:00
Patrik Nordwall
8c47e01e9d !per #15377 Mandate atomic writes for persistAll, and support rejections
* changing Plugin API for asyncWriteMessages and writeMessages
* passing explicit AtomicWrite that represents the events of
  persistAll, or a single event from persist
* journal may reject events before storing them, and that
  will result in onPersistRejected (logging) and continue in the
  persistent actor
* clarified the semantics with regards to batches and atomic writes,
  and failures and rejections in the api docs of asyncWriteMessages
  and writeMessages
* adjust the Java plugin API, asyncReplayMessages, doLoadAsync
2015-06-25 15:28:37 +02:00
Konrad Malawski
2a5161ff6f !per #17755 removes the saved callback in plugins and adds receive 2015-06-25 13:44:03 +02:00
Konrad Malawski
63baaf1b2b !per #17586 async snapshot delete and remove timestamp from deleteSnapshot() 2015-06-25 10:19:55 +02:00
Konrad Malawski
7e86dac542 +per #17579 #17617 Introduces EventAdapter
+ per plugin scoped adapters
+ could be swapped during runtime
+per EventAdapter now has manifest and is configurable ai la serializers
+ json examples in docs
+ including "completely manual" example in case one wants to add
  metadata TO the persisted event
+ better error reporting when misconfigured bindings
+ manifest is handled by in memory plugin
- did not check if it works with LevelDB plugin yet
> TODO: json example uses Gson, as that's simplest to do, can we use
+per allows 1:n adapters, multiple adapters can be bound to 1 class
2015-06-23 16:57:43 +02:00
Christopher Hunt
7041c76ba9 +cdd #16799 Add ORMultiMap data type 2015-06-18 16:17:53 +02:00
Patrik Nordwall
cbe5dd2cf5 +cdd #16799 Add Distributed Data module
Previously know as [patriknw/akka-data-replication](https://github.com/patriknw/akka-data-replication),
which was originally inspired by [jboner/akka-crdt](https://github.com/jboner/akka-crdt).

The functionality is very similar to akka-data-replication 0.11.

Here is a list of the most important changes:

* The package name changed to `akka.cluster.ddata`
* The extension was renamed to `DistributedData`
* The keys changed from strings to classes with unique identifiers and type information of the data values,
  e.g. `ORSetKey[Int]("set2")`
* The optional read consistency parameter was removed from the `Update` message. If you need to read from
  other replicas before performing the update you have to first send a `Get` message and then continue with
  the ``Update`` when the ``GetSuccess`` is received.
* `BigInt` is used in `GCounter` and `PNCounter` instead of `Long`
* Improvements of java api
* Better documentation
2015-06-18 15:58:22 +02:00