Commit graph

580 commits

Author SHA1 Message Date
Patrik Nordwall
ea84b4bfdd add LoadSnapshotFailed in snapshot protocol, #21842
* treat snapshot load failure in same way as other recovery failures
* if load of snapshot fails the persistent actor will be stopped, since
  we can't assume that a consistent state would be recovered just by
  replaying all events, since events may have been  deleted
* additional recovery docs
* improve log message
2016-11-18 10:51:35 +01:00
Wojciech Grajewski
bca7045174 =per #20821 optimize recovering from snapshot in LocalSnapshotStore (#21827)
* optimize recovering from snapshot in LocalSnapshotStore #20821

* replaced FilenamePattern regex with String operations when scanning snapshot filenames

* further optimization of the string operations

* fixed the logic in order to pass the SnapshotRecoveryLocalStoreSpec test
2016-11-18 10:15:30 +01:00
Konrad Malawski
5df1cc52b0 Remove not needed type match in last clause in EventSourced 2016-11-17 14:11:34 +01:00
Nafer Sanabria
80d48ead5a per bugfix #21824 pass the message which cause restart in PersistentActor 2016-11-17 14:11:34 +01:00
Patrik Nordwall
679db55eca increase test timeout in PersistentFSMSpec, #20725 (#21694)
* and add remainingOrDefault in Java testkit
2016-10-21 16:50:44 +02:00
Patrik Nordwall
3c8edee26a harden AtLeastOnceDeliverySpec, #20724 (#21695)
* the reason for the failure was unexpected redelivery because
  the too short 1 second redelivery interval
2016-10-19 10:13:01 +02:00
Nafer Sanabria
0b9a5026a0 Remove unnecesary s when printing unit times (#21637) 2016-10-13 12:35:20 +02:00
Patrik Nordwall
4a7cd14731 Merge pull request #21429 from richard-imaoka/wip-20394-dupe-persistentid-errmsg-richard-imaoka
More descriptive errors from ReplayFilter
2016-09-13 16:11:59 +02:00
Johan Andrén
74162ddc9f Verbose logging in LeveldbAtLeastOnceDeliverySpec to figure out #20724 2016-09-13 11:46:18 +02:00
Johan Andrén
e65e63e8c1 =per Higher recovery timeout in PersistentActorRecoveryTimeoutSpec to not fail on slow/gc #20728 (#21445) 2016-09-13 10:51:40 +02:00
Richard S. Imaoka
ae084083f6 More descriptive errors from ReplayFilter (Fixes #20394) 2016-09-10 02:05:36 +09:00
Johan Andrén
b3cfd1c0ed Race in PersistentActorFailureSpec removed #21229 2016-08-30 14:46:51 +02:00
Johan Andrén
bc09e610f6 =per Log more info when recovery fails #20728 (#21313) 2016-08-29 13:20:48 +01:00
Endre Sándor Varga
5e830323f6 Updating to ScalaTest 3.0.0 and ScalaCheck 1.13.2 2016-08-22 11:13:49 +02:00
abesanderson
24fc2c3134 check for non empty journal batch before sending to journal #21116 2016-08-09 10:15:07 +02:00
abesanderson
03fcf871a9 additional debug logging for fsm #20952
* additional debug logging for fsm
* dont construct the string if debug logging disabled
2016-07-15 10:02:37 +02:00
Patrik Nordwall
675e137d06 =act let onReceive throw Throwable, #20231 (#20781)
* I also tried to change the lifecycle methods (e.g. postStop) but
  that would break source compatibility for code that called super.postStop
2016-07-05 17:58:33 +02:00
Hawstein
6777e7f7d9 +doc #20466 example snippet for akka http java dsl: ParameterDirectives (#20823) 2016-06-23 23:29:01 +02:00
Johan Andrén
16cde39de8 Better recovery timeout for persistent actors #20738 2016-06-09 14:58:32 +02:00
Johan Andrén
896ea53dd3 recovery timeout for persistent actors #20698 2016-06-03 14:17:41 +02:00
Björn Antonsson
c66ce62d63 Update to a working version of Scalariform 2016-06-02 22:12:36 +02:00
Patrik Nordwall
3023538bde Merge pull request #20432 from bantonsson/wip-ban-fix-flaky-persistence-test
=per Fix flaky ThrowExceptionStrategyPersistentActorBoundedStashingSpec
2016-05-10 14:10:31 +02:00
Patrik Nordwall
d5a3b26291 format the code
* just a clean test:compile
* and fixing the tweets Source
2016-05-10 11:52:36 +02:00
Björn Antonsson
8ab1d40bb8 =per Fix flaky ThrowExceptionStrategyPersistentActorBoundedStashingSpec 2016-05-09 15:54:49 +02:00
leonidb
68e479a050 +per #20257 Snapshots with PersistentFSM 2016-05-07 22:58:19 +03:00
Andrea Peruffo
088bf1b842 =act Locale unaware method in Helpers. (#20412) 2016-04-28 15:32:46 +02:00
Leonid Bakaleynik
e0af113f17 =per #19688 [2.4.1][PersistentFSM] getting StateTimeout for state wit… (#20266)
* =per #19688 [2.4.1][PersistentFSM] getting StateTimeout for state without timeout after restart

* Added deprecation warning
2016-04-20 15:22:18 +02:00
Konrad Malawski
4b81d835cd =per make sure ReplayFilter works OK if no previous writer ID was seen 2016-04-13 15:14:22 +02:00
Konrad Malawski
62d8a69fac all #20090 enable running java tests in actor,camel,cluster,persistence 2016-04-06 01:23:21 +02:00
Patrik Nordwall
9f659cf9b1 remove JUnitRunner annotation, #16112
* it was used for running tests from inside Eclipse,

  but since it caused some trouble we remove it
2016-04-05 17:06:58 +02:00
Patrik Nordwall
b7fecaff37 Merge pull request #20115 from akka/wip-18954-EventAdapterSpec-patriknw
fix InvalidActorNameException in EventAdapterSpec, #18954
2016-03-23 14:09:01 +01:00
Patrik Nordwall
d0cbbe1ac5 fix InvalidActorNameException in EventAdapterSpec, #18954 2016-03-22 15:09:17 +01:00
Patrik Nordwall
6288a7c82f avoid NPE in recoveryRunning, #19177
* recoveryRunning = true when called from constructor
* better exceptions if some things are used to early in FSM
  and persistent FSM
2016-03-21 11:01:01 +01:00
Konrad Malawski
f9c92a5f9a Merge pull request #20075 from akka/wip-typo2-patriknw
fix the the typo
2016-03-18 18:58:19 +01:00
Konrad Malawski
0c4c5a5909 Merge pull request #20043 from wlk/issue-18500-fix-scaladoc-warnings
=doc fix scaladoc warnings #18500
2016-03-18 17:42:49 +01:00
Patrik Nordwall
137c4c8b3d fix the the typo 2016-03-18 17:06:34 +01:00
qian miao
aa8742738c =per #19828 pop the internal stash when the writing was finished in the processing commands state 2016-03-18 12:27:02 +08:00
Wojciech Langiewicz
2cdf447f6e =doc fix scaladoc warnings #18500 2016-03-16 09:18:39 +01:00
Alexander Golubev
b2b2ce44b5 =str #19299 Performance Flow.flatMapMerge 2016-03-14 14:14:39 -04:00
Konrad Malawski
4d9ffd6387 Merge pull request #20000 from wlk/wlk-18500-fix-scaladoc-warnings-from-jenkins
[WIP] fixing scaladoc warnings reported by jenkins
2016-03-11 15:11:31 +01:00
Wojciech Langiewicz
afce1b7529 fixing scaladoc warnings reported by jenkins 2016-03-10 13:05:32 +01:00
Martynas Mickevičius
50f99328fe #18765 Update to latest MiMa which is now an AutoPlugin.
* check for binary inc. issues by default
* if check is not needed, disable MimaPlugin
* determine old artifact id from the current one
2016-03-10 10:45:35 +02:00
Johannes Rudolph
b6cbc7f13a =all remove unused imports 2016-02-23 20:29:22 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Roland Kuhn
125c996fae add new Streams Quick Start
also move IOResult to akka.stream package
2016-02-16 18:14:32 +01:00
Roland Kuhn
2f9cc7d04f Merge pull request #19626 from MQ-EL/master
=per #19551 support stash overflow strategy
2016-02-16 13:50:40 +01:00
Roland Kuhn
e202ea8c40 clean up dependencies #19755 and other fixes
* remove inter-project dependencies between streamTestkit -> peristence -> remote
* make PartitionOutOfBoundsException extend IndexOutOfBoundsException
* some weird formatting
* remove -experimental from HTTP Testkit/Tests
* split out shared LevelDb journal tests into new subproject (not to be
  published)
2016-02-15 20:35:37 +01:00
qian miao
952d768693 =per #19551 support stash overflow strategy 2016-02-15 15:27:15 +08:00
Roland Kuhn
6f06e60480 prohibit concurrent write request from same persistenceId #19694
- also use scalactic.ConversionCheckedTripleEquals
- also remove usage of the setting `max-message-batch-size`
2016-02-10 09:24:06 +01:00
Roland Kuhn
bf17de3128 #19637 fix BC issue in AsyncWriteJournal 2016-01-29 12:38:32 +01:00