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
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
Roland Kuhn
0de9f0ff40
Merge pull request #17641 from kukido/kukido-spellings-normalization
...
=doc #17329 Fixed and normalized spellings in ScalaDoc and comments
2015-06-19 12:06:53 +02:00
Patrik Nordwall
a2e5b3f8a4
=per #16542 Don't store sender in PersistentRepr
...
* I think it originated from channels, or some idea that
the sender should be revived (as good as possible) during replay,
but that is pretty useless
* It must still be in PersistentRepr for remote serialization
* I didn't want to change to the built in sender when looping to the
journal because keeping it together with the message makes it easier
to do batching (queueing)
* adjust tck
2015-06-18 12:46:50 +02:00
Patrik Nordwall
450a43e5dd
Merge pull request #17742 from akka/wip-15644-persist-seq-patriknw
...
!per #15644 Rename persist(seq) to persistAll
2015-06-18 11:35:03 +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
Patrik Nordwall
74b97b3bd4
!per #15644 Rename persist(seq) to persistAll
2015-06-16 15:26:48 +02:00
leonidb
47348f6280
=per #17630 FAILED: PersistenceFSMActorSpec
...
* Changed the timeouts to make tests less sensitive to environment issues
* Marked the timeout tests as TimingTest
2015-06-03 15:56:19 +03:00
Andrey Myatlyuk
bc791eb86c
=doc #17329 Fixed and normalized spellings in ScalaDoc and comments
2015-06-02 21:06:25 -07:00
Patrik Nordwall
1dac401099
Merge pull request #17601 from akka/wip-17576-manifest-patriknw
...
+act #17576 Support serializer with string manifest
2015-06-01 13:46:17 +02:00
Patrik Nordwall
740f006a38
+act #17576 Support serializer with string manifest
...
* useful when evolution is needed, e.g. Akka Persistence
* docs, comments, cluster-metrics and cluster-tools serializers
2015-06-01 13:45:31 +02:00
Patrik Nordwall
d2a00d3b98
Merge pull request #16255 from leonidb/master
...
+per #15279 FSM for PersistentActor
2015-06-01 13:13:47 +02:00
leonidb
09b6abd614
+per #15279 FSM for PersistentActor
2015-05-29 18:30:38 +03:00
Konrad Malawski
228ace497f
Merge pull request #17593 from ktoso/wip-deferAsync-ktoso
...
!per #16797 rename defer to deferAsync, remove Seq version
2015-05-29 15:13:00 +02:00
Martynas Mickevičius
0b15a8c2f4
Merge pull request #17532 from 2m/wip-pr-multi-jvm
...
=pro run multi-jvm tests when validating pr
2015-05-28 16:03:34 +03:00
Martynas Mickevičius
7fc2790458
=pro run multi-jvm tests when validating pr
...
* addunidoc task via an AutoPlugin that depends on PrValidation and Unidoc autoplugins
* separate cli option logic to a case class
* remove autoplugin for root project
2015-05-28 13:57:50 +03:00
Konrad Malawski
5c45d9e3be
=per #16802 no need to verify serialization on journal protocol
2015-05-28 02:43:58 +02:00
Konrad Malawski
d782cf59af
!per #16797 rename defer to deferAsync, remove Seq version
2015-05-28 01:37:38 +02:00
Patrik Nordwall
daf1a46f92
Merge pull request #17433 from akka/wip-16695-dependencies-patriknw
...
=pro #16695 Update dependencies
2015-05-19 11:30:10 +02:00
Patrik Nordwall
c3c05b159b
Merge pull request #17478 from akka/wip-17150-AtLeastOnceDeliverySpec-patriknw
...
=per #17150 Harden AtLeastOnceDeliverySpec
2015-05-19 09:09:25 +02: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
Roland Kuhn
18688fc84b
= #17380 fix doc comments for java8 doclint
...
* actor and cluster-metrics comments
* agent/camel/cluster/osgi/persistence/remote comments
* comments in contrib/persistence-tck/multi-node/typed
2015-05-18 12:51:36 +02:00
Patrik Nordwall
10c0d64381
=per #17150 Harden AtLeastOnceDeliverySpec
...
* UnconfirmedWarning message spilled over from previous test step,
using separate probes instead of testActor
* the resend interval was too short so that unexpected resend occured
as seen by the `failed: expected Action(4,a-4), found Action(3,a-3)`
2015-05-13 15:18:22 +02:00
Konrad Malawski
8b045173ad
=pro #17397 improve PR validation speed tremendously (skipping things)
...
+ enable parallel execution
+ exclude perf tests (TODO mark more as such)
+ uses sbt-dependency-graph plugin
+ implement dependency tracking for testing of only these
+ project which could have been affected by a given PR
2015-05-08 14:09:12 +02:00
Patrik Nordwall
cc636929a5
=per #16737 avoid NPE when snapshot dir is removed
...
* also best effort to recreate the directory if it is removed
2015-04-01 14:50:28 +02:00
Patrik Nordwall
7aa9fe25f2
Merge pull request #17024 from carrot-garden/persistence-leveldb-dependency
...
!per #15884 Make LevelDB an optional dependency
2015-03-25 09:07:55 +01:00
Andrei Pozolotin
5c5e07ec4e
!per #15884 Make LevelDB an optional dependency
2015-03-24 13:58:09 -05:00
Julian Tescher
00f6a58e7c
Changes all occurances of Typesafe copyright to extend to 2015
2015-03-10 14:12:19 -07:00
Patrik Nordwall
30df518421
=tes Use ConversionCheckedTripleEquals
2015-03-10 08:17:03 +01:00