Commit graph

412 commits

Author SHA1 Message Date
Patrik Nordwall
bf0ec831a0 Merge pull request #18205 from akka/wip-15955-snapshot-lower-bound-patriknw
+per #15955 Add lower bounds to SnapshotSelectionCriteria
2015-08-13 20:23:04 +02:00
Patrik Nordwall
f2e7ab0167 Merge pull request #18202 from akka/wip-16090-sharding-fail-loudly-patriknw
=per #16090 Fail and warn loudly in SharedLeveldbJournal and ClusterSharding
2015-08-13 20:22:22 +02:00
Patrik Nordwall
aef28faaf3 Merge pull request #17974 from leonidb/fix-17959-PersistentFsmActor-persists-StateChangeEvent-on-stay
=per #17959 PersistentFsmActor persists StateChangeEvent on stay
2015-08-13 20:21:09 +02:00
Patrik Nordwall
2916db1b34 =per #15889 Add tck test for save snapshot with same seqNr 2015-08-13 17:38:13 +02:00
Patrik Nordwall
6d0416f0aa !per #17918 Make deleteMessages reply msgs public 2015-08-13 17:13:13 +02:00
leonidb
07fcf90fbf =per #17959 Prevent PersistentFSM from saving state change event on stay 2015-08-13 17:20:04 +03:00
Patrik Nordwall
aa6d089d80 +per #15955 Add lower bounds to SnapshotSelectionCriteria 2015-08-13 15:32:00 +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
Patrik Nordwall
5ff9dea225 Merge pull request #18197 from akka/wip-17842-BackoffSupervisorSpec-patriknw
=act #17842 Move BackoffSupervisorSpec to akka-actor-tests
2015-08-13 11:01:27 +02:00
Patrik Nordwall
1d5f3726c9 =per #16090 Fail loudly if SharedLeveldbJournal is not initialized 2015-08-13 10:47:00 +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 & Konrad Malawski
893578a8af +per #16541 java docs for persistence query 2015-08-12 18:14:02 +02:00
Patrik Nordwall
39c2d6d944 +per #15816 Use CircuitBreaker
to protect agains unresponsive journal and snapshot store
2015-08-12 17:20:38 +02:00
Patrik Nordwall
821d64329c =per #17033 AtLeastOnceDelivery extends PersistentActor
* to avoid mistake of MyActor extends AtLeasOnceDelivery
* had to add AtLeasOnceDeliveryLike for UntypedPersistentActorWithAtLeastOnceDelivery
2015-08-12 16:43:24 +02:00
Patrik Nordwall
af4d09857c =act #17842 Move BackoffSupervisorSpec to akka-actor-tests
* it was forgotten in the previous move of BackoffSupervisor
2015-08-12 14:56:31 +02:00
Patrik Nordwall
63ba2ae8e7 +per #17894 Support Future(Nil) in asyncWriteMessages
Future.successful(Nil) is an alternative way to signal all good
in the happy case, for reduced allocations.

fix test failure

benchJmh leveldb dependency

revert leveldb change
2015-08-12 13:54:29 +02:00
Patrik Nordwall
fb5d338c06 Merge pull request #18182 from akka/wip-17896-PersistentView-stashing-patriknw
=per #17896 Support stashing of replayed in PersistentView
2015-08-12 13:50:13 +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
09aff42d40 Merge pull request #17957 from ktoso/wip-ActorSelection-in-ALOD-ktoso
+per #16339 adds actorSelection support to AtLeastOnceDelivery
2015-08-11 12:12:05 +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
Patrik Nordwall
380f9efee1 =per #17896 Support stashing of replayed in PersistentView 2015-08-11 10:43:19 +02:00
Konrad Malawski
7896e98f53 Merge pull request #18085 from ktoso/wip-persistence-atomicwrite-impr-ktoso
+per #18076 makes AtomicWrite more user friendly
2015-08-10 18:36:02 +02:00
Konrad Malawski
64718c0013 +per #18076 makes AtomicWrite more user friendly 2015-08-10 17:28:03 +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
Konrad Malawski
1bbf0731df =per #18162 harden PersistentFSMActorSpec, less timing sensitive 2015-08-10 15:20:20 +02:00
Jeroen Gordijn
188d5836d3 +per #18032 Removed final from all persist & deferAsync methods
This opens PersistentActor for extension.
2015-08-10 11:00:29 +02:00
Konrad Malawski
f9201c7e05 Merge pull request #17960 from ktoso/wip-additional-test-ktoso
=act,per additional test for onTransition behaviour when initialize() called
2015-07-14 15:51:28 +02:00
Konrad Malawski
5d746b40b1 =act,per additional test for onTransition behaviour when initialize() called 2015-07-10 00:52:26 +02:00
Konrad Malawski
36be7ae37b Merge pull request #17942 from ktoso/wip-harden-alod-spec
=per #17820 avoid depending on ordering of redelivery (when slow)
2015-07-09 18:02:18 +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
6edf3e7538 =per #17820 avoid depending on ordering of redelivery (when slow) 2015-07-08 15:48:15 +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
Patrik Nordwall
09a2f9c248 =per #15916 Read highestSeqNr first in replay
* we need to read the higestSeqNr anyway and it is better
  to do it first and limit the asyncReadHighestSequenceNr
  to that (instead of Long.MaxValue)
* return the highestSeqNr in the ReplayMessagesSuccess
* this also removes one become state in PersistentActor recovery
  logic
2015-07-03 13:19:58 +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
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
00449cd9ec =per #17598 Add writerUuid to PersistentRepr
* to support detection of multiple writers, facility to do
  that automatically is not part of this commit
2015-06-25 20:06:13 +02:00
Patrik Nordwall
9b27abd646 =per Harden SnapshotStoreSpec
* publish to eventStream was done too early
* verify the reply message
2015-06-25 16:53:00 +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
541ac83b10 +str #17751 configurable load attempts for local-snapshot-store 2015-06-25 10:19:55 +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
c34914a4fe +pro #17611 add perl script to find javadoc errors 2015-06-24 16:34:36 +02:00