Commit graph

68 commits

Author SHA1 Message Date
Tal Pressman
70130549df =per #19221 Eager initialization of persistence plugins
* Initialization is performed during Persistence initialization, so for this to work the persistence extension should be specified under akka.extensions
2015-12-27 10:10: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
Roland Kuhn
2fbea1607b Merge pull request #18855 from okthatsneat/Issue-18849_@okthatsneat_fix-ortography_persistence_doc
=doc #18849 Improve orthography & grammar
2015-12-14 17:41:03 +01:00
Philipp Hofmann
dff87ad04f =doc #18849 Improve orthography & grammar
For all docs:
* remove consecutive duplicate words
* Improve use of commata
* Improve use of articles
* Improve consistent use of singular/plural
* Simplify run-on sentences

Review iterations:

* Integrate @rkuhn review points
- bring back the comma for the interjection
- ‘to not’ is not inverted if the infinitive form still follows
- Elegantly connect a run on sentence with a semicolon
- Correct semantic error
- Strictly monotonically preserve math expressions
- Use correct english futures

* Cross sync changes to files in scala, java & java-lambda documentation files using git diff -u | patch
2015-12-14 17:24:41 +01:00
Tal Pressman
f610952ae7 PersistencePluginProxy
* Rename to PersistencePluginProxy.
* Watch target journal.
* Create PersistencePluginProxyExtension to enable eager initialization of
  the persistence plugin.
* Add initialization via configuration.
* Add tests and documentation.
* Clearer log messages.
2015-12-01 17:12:33 +02:00
Patrik Nordwall
23dd1170b0 =per #18451 Recommend configuring stash capacity when persistence is used 2015-09-17 10:45:22 +02:00
Patrik Nordwall
a6d693b8ef =per #17139 Clarify AtLeastOnceDelivery persistent state 2015-09-08 15:07:55 +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
fed622eb9f =per #18288 Add docs of leveldb queries 2015-08-21 15:33:21 +02:00
Konrad Malawski
8c4cc9a93f =doc #18128 explain PoisonPill interaction with PA 2015-08-20 13:57:08 +02:00
Patrik Nordwall
7ec0493923 =per #18219 Find plugin constructor automatically 2015-08-18 16:10:29 +02:00
Patrik Nordwall
15828db19f =per #18123 Deprecate PersistentView
* marked PersistentFSM as experimental
* also changed the order of some sections in migration guide
* link to 2.2->2.3 migration guide
* update experimental index page
2015-08-14 15:05:59 +02:00
Konrad Malawski
9422baf5a2 Merge pull request #18214 from ktoso/wip-18061-testactorref-dislikes-persistentactor-ktoso
=per,doc #18061 doc that Persistence won't work with TestActorRef
2015-08-14 13:49:23 +02:00
Konrad Malawski
f629171833 =per,doc #18061 doc that Persistence won't work with TestActorRef 2015-08-14 12:12:20 +02:00
Konrad Malawski
fd43ac7b8d Merge pull request #18084 from ktoso/wip-schema-migration-omg-its-a-small-book-ktoso
+doc #17613 document persistence schema evolution
2015-08-14 11:31:01 +02:00
Konrad Malawski
270c566fea +doc #17613 document persistence schema evolution 2015-08-14 10:50:19 +02:00
Patrik Nordwall
6d0416f0aa !per #17918 Make deleteMessages reply msgs public 2015-08-13 17:13:13 +02:00
Patrik Nordwall
dbeb07a3eb =per #17844 Clarify docs around journal dispatchers
and never run plugin actor on default dispatcher
2015-08-13 13:14:12 +02:00
Konrad Malawski
5a6ee8bd49 Merge pull request #18051 from akka/wip-16541-persistence-query
+per #16541 initial version of the Persistence Query module
2015-08-12 22:14:44 +02:00
Patrik Nordwall
2694e13b32 !per #17862 Remove experimental from persistence 2015-08-12 13:52:19 +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
015cf988e7 Merge pull request #18166 from ktoso/wip-harden-persistent-fsm-spec-ktoso
=per #18162 harden PersistentFSMActorSpec, less timing sensitive
2015-08-10 17:14:54 +02:00
Konrad Malawski
e23aef93a1 Merge pull request #18052 from ktoso/wip-snapshot-store-optional-ktoso
+per #17668 allows not configuring a snapshot-store if it is never used
2015-08-10 16:46:57 +02:00
Konrad Malawski
ea1016bdf4 +per #17668 allows not configuring a snapshot-store if it is never used 2015-08-10 16:45:18 +02:00
Konrad Malawski
488b1f4d6d !per #18168 consistency improvements for PersistentFSM 2015-08-10 16:22:50 +02:00
Christopher Batey
e3e59c6d04 =doc Fix typo 2015-07-27 15:01:03 +01: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
561d46e2da =pro fixup in PR validation logging logic 2015-07-08 14:26:19 +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
bce84b9b94 +doc #17885 explain sender semantics in receiveRecover 2015-07-03 09:31:27 +02:00
Christopher Batey
8e6df0d322 =doc update references to deferAsync 2015-07-01 10:46:34 +01: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
Patrik Nordwall
77df1372ad +per #17799 Fix refactoring bug in deleteMessages
* add missing test
* use DeleteMessagesFailure and add onDeleteMessagesFailure (logging)
2015-06-26 12:05:38 +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
Patrik Nordwall
6d26b3e591 !per Make persistent failures fatal
* remove PersistentFailure and RecoveryFailure messages
* use stop instead of ActorKilledException
* adjust PersistentView
* adjust AtLeastOnceDeliveryFailureSpec
* adjust sharding
* add BackoffSupervisor
2015-06-17 15:49:47 +02:00
leonidb
09b6abd614 +per #15279 FSM for PersistentActor 2015-05-29 18:30:38 +03:00
kukido
ab0c60eca7 =doc Fixed and normalized spellings 2015-05-23 19:16:41 -07:00
Patrik Nordwall
a8687f9c4e =pro #16695 Update dependencies
io.netty:netty: 3.8.0.Final -> 3.10.3.Final
org.slf4j:slf4j-api: 1.7.7 -> 1.7.12
org.fusesource.leveldbjni:leveldbjni-all:optional;provided: 1.7 -> 1.8
org.apache.camel:camel-core: 2.13.0 -> 2.13.4

ch.qos.logback:logback-classic:test: 1.0.13 -> 1.1.3
junit:junit:test: 4.10 -> 4.12
org.scalatest:scalatest:test: 2.1.3 -> 2.2.4
org.mockito:mockito-all:test: 1.9.5 -> 1.10.19
org.scala-lang.modules:scala-xml:test: 1.0.1 -> 1.0.4
com.novocode:junit-interface:test : 0.8 -> 0.11
org.slf4j:jul-to-slf4j:test: 1.7.7  -> 1.7.12
org.slf4j:log4j-over-slf4j:test: 1.7.7  -> 1.7.12
com.codahale.metrics:metrics-core:test: 3.0.1  -> 3.0.2
com.codahale.metrics:metrics-jvm:test: 3.0.1  -> 3.0.2
org.scalacheck:scalacheck:test: 1.11.3 -> 1.11.6
org.apache.commons:commons-math:test: 2.1 -> 2.2
commons-codec:commons-codec:test: 1.7 -> 1.10
2015-05-19 08:37:54 +02:00
Andrei Pozolotin
5c5e07ec4e !per #15884 Make LevelDB an optional dependency 2015-03-24 13:58:09 -05:00
Björn Antonsson
8e4f1d966e Merge pull request #16794 from carrot-garden/persistence-multiple-plugins
+per #15587 Make it possible to use multiple persistence plugins
2015-03-04 15:19:43 +01:00
pkaczor
a6913a9271 =doc #16874 clean up Relationship between deliver and confirmDelivery section 2015-02-20 09:07:43 +01:00
Andrei Pozolotin
18dfd39686 +per #15587 Make it possible to use multiple persistence plugins 2015-02-19 21:25:52 -06:00
Patrik Nordwall
9b5a446a4a =per #15942 Support resume after recovery failure
* also improved fault handling in various places (bugs found)

* and manually triggered Update must be distinguished from scheduled
  auto updates, otherwise manual Update will schedule extra auto updates
2015-02-06 10:29:07 +01:00
Patrik Nordwall
c566d5a106 per #15423 Remove deprecated features from akka-persistence
* remove channels
* remove View
* remove Processor
* collapse the complicated internal state management
  that was spread out between Processor, Eventsourced and Recovery
* remove Recovery trait, this caused some duplication between Eventsourced
  and PersistentView, but but the enhanced PersistentView will not be based
  on recovery infrastructure, and therefore PersistentView code will be replaced anyway
* remove PersistentBatch
* remove LoopMessage
* remove deleteMessages of individual messages
* remove Persistent, PersistentRepr and PersistentImpl are kept
* remove processorId
* update doc sample code
* note in migration guide about persistenceId
* rename Resequencable to PersistentEnvelope
2014-12-12 16:18:47 +01:00
Patrik Nordwall
c0bd00409b =doc Fix wrong rst format 2014-11-10 17:28:16 +01:00