Commit graph

538 commits

Author SHA1 Message Date
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
Prayag Verma
b7783968a0 =pro #19068 All copyrights ranges and single years updated to a range ending in 2016 2016-01-25 10:20:30 +01:00
Patrik Nordwall
c015f22824 !peq #19324 update persistence-query to stream 2.0.1 2016-01-11 18:27:35 +01:00
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
0af98e7bee =per add detailed debug logging in ReplayFilter 2015-12-16 14:43:39 +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
d39b368cac +per #18839 Add better journal proxy
* JournalProxy works on the journal and snapshot store
  message protocol level and is therefore much simpler
  than the previous AsyncWriteProxy approach
* JournalProxy will work out of the box with any journal,
  I have tried with Cassandra
* should in the end phase out AsyncWriteProxy and
  SharedLeveldbJournal, we need deprecation phase
* rewrote the InmemJournal to remove the dependency to
  AsyncWriteProxy, which I can't see why it is needed
  for the InmemJournal
2015-12-01 17:12:30 +02:00
Jaca777
3410e3a615 =doc Fixed typo 2015-11-14 14:41:18 +01:00
Roland Kuhn
f1abaa1c5e Merge pull request #18875 from ktoso/wip-akka.js-cherries-ktoso
Akka.js cherries to master
2015-11-07 18:01:24 +01:00
Patrik Nordwall
1e36e5e187 Merge pull request #18746 from akka/wip-18554-singleton-startup-patriknw
=clu #18554 Make oldest assignment deterministic when joining
2015-11-06 14:48:57 +01:00
Patrik Nordwall
c7c187f6b7 =clu replace Set -- with diff and ++ with union
* better performance according to
  https://docs.google.com/presentation/d/1Qjryxoe-fYEM8ZPhM-98LKfbhnRcn5eAEMNlVVnixsA/pub
2015-11-06 14:48:17 +01:00
Andrea
cd3d68a77c =act switch to java std lib ThreadLocalRandom 2015-11-06 14:04:33 +01:00
Konrad Malawski
81cba2e580 Merge pull request #18772 from ktoso/wip-persist-nil-ktoso
=per #18728 allow persistAll(Nil)
2015-10-26 14:43:15 -07:00
Konrad Malawski
4a3bc59c48 =per #18728 allow persistAll(Nil) 2015-10-26 14:42:33 -07:00
Patrik Nordwall
ac82354077 Merge pull request #18552 from johanandren/wip-18371-warn-about-java-serialization-johanandren
=act #18371 Warn if the default Java serializer is used
2015-10-26 08:34:11 +01:00
Martynas Mickevičius
4ffe267835 =pro verify BC against all binary compatible versions 2015-10-23 09:10:25 +03:00
Johan Andrén
146bb89e23 =act #18371 Warn if the default Java serializer is used
Unless the message is in akka.* or the configuration setting 'akka.actor.warn-about-java-serializer-usage'
is disabled a warning is logged for each class that the Java serializer is choosen for.
2015-10-21 10:10:24 +02:00
Patrik Nordwall
6b6a16637b Merge pull request #18689 from akka/wip-doc-asyncWriteMessages-concurrency-patriknw
=per Clarify concurrency of asyncWriteMessages
2015-10-21 09:25:48 +02:00
Patrik Nordwall
ba12c04026 Merge pull request #18721 from eshepelyuk/highestSeqNoKeptAfterMsgDeletion-18559-eshepelyuk
=per #18559 TCK tests for highestSequenceNr not reset after journal message deletion
2015-10-20 19:41:48 +02:00
Evgeny Shepelyuk
4eaa77608c +per #18559 TCK tests for highestSequenceNr not reset after journal message deletion
* added tests
* docs about highestSeqenceNr behaviour after message deletion
* clarification about highestSequenceNr in AsyncRecovery#asyncReadHighestSequenceNr and AsyncWriteJournal#asyncDeleteMessagesTo
2015-10-19 19:36:13 +03:00
cheehau.lim
795daa41a5 =doc =per fixed a few typos from 'Unknow' to 'Unknown' 2015-10-15 19:32:22 +08:00
Patrik Nordwall
550aa10db1 =per Clarify concurrency of asyncWriteMessages 2015-10-09 16:00:06 +02:00
Patrik Nordwall
233ea96690 cleanup some test configuration 2015-10-05 10:29:09 +02:00
Patrik Nordwall
9ed46a2a53 Merge pull request #18606 from akka/wip-18447-mima-2.4.0-patriknw
=pro #18447 Check binary compatibility with 2.4.0
2015-09-30 17:02:30 +02:00
Patrik Nordwall
48754bb33f =pro #18447 Check binary compatibility with 2.4.0 2015-09-30 11:31:11 +02:00
Johan Andrén
9d576b4eb5 =per #18527 fix race condition in async stash test 2015-09-23 11:59:15 +02:00
Patrik Nordwall
d2cc69e65a =per #18497 Handle large deleteMessages ranges in leveldb journal
* creating a large scala range is very inefficient and also impossible
  above Int.MaxValue, which can happen if deleteMessages(Long.MaxValue)
  is used
* solved by capping the upper seq nr by the highest know seq nr
* similar issue in inmem journal
2015-09-17 14:04:10 +02: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
4d95fd569d =per #16528 improved persistent actor stash test coverage
Existing tests covering stashin in PersistentActor moved to separate
test class.

New async write journal for tests SteppingInmemJournal allows to
control the async journal operations tightly from a test. Each journal
operation requires a token which the test then can wait for consumption of.
2015-09-16 15:27:43 +02:00
Konrad Malawski
05827b1728 Merge pull request #18448 from akka/wip-18050-query-adapter-patriknw
!per #18050 Make event adapter lookup more efficient
2015-09-16 12:17:52 +02:00
Patrik Nordwall
45318b94c1 =per #18439 Preserve original manifest for IdentityEventAdapter
* when WriteMessages is sent directly to the  journal for testing
  purposes we want to preserve the original manifest instead of
  letting IdentityEventAdapter clearing it out
2015-09-11 16:40:20 +02:00
Patrik Nordwall
b3fedb4cf8 !per #18050 Make event adapter lookup more efficient 2015-09-10 19:48:57 +02:00
Patrik Nordwall
8ce4622783 =per #18415 Don't start redelivery during recover 2015-09-08 13:27:24 +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
Konrad Malawski
9bf6b65e72 Merge pull request #18395 from akka/wip-fix-persisting-manifest-ktoso
=per #18394 persist EventAdapter manifest in default proto serializer
2015-09-04 11:32:37 +02:00
Patrik Nordwall
40936e8333 Merge pull request #18355 from akka/wip-18296-readHighestSequenceNr-patriknw
=per #18296 Use 0L or snapshot seqNr as asyncReadHighestSequenceNr param
2015-09-04 11:32:02 +02:00
Konrad Malawski
9e5a2d5c17 =per #18394 persist EventAdapter manifest in default proto serializer 2015-09-04 10:56:56 +02:00
Roland Kuhn
c3ecb87a65 =all #13783 replace protobuf dependency by embedded version
- created new subproject akka-protobuf (and added COPYING and LICENSE)
- renamed com.google.protobuf -> akka.protobuf everywhere
- also added such renaming step to the results of protoc compilation in
  project/Protobuf.scala
- had to include transcriptions of Netty’s ProtobufEncoder/Decoder to
  make multi-node-testkit compile again
2015-09-04 09:06:50 +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
Patrik Nordwall
af3bc52480 =per #18296 Use 0L or snapshot seqNr as asyncReadHighestSequenceNr param
For example, a new persistent actor (no snapshots, no events) should use
0L so that it makes sense that journal returns 0L and the first persisted
event gets 1L.
2015-08-28 16:05:59 +02:00
Konrad Malawski
e185718189 =per #18303 avoid causing match error in AsyncWriteJournal 2015-08-24 15:57:19 +03:00
Patrik Nordwall
fed622eb9f =per #18288 Add docs of leveldb queries 2015-08-21 15:33:21 +02:00
Patrik Nordwall
8f723deda1 +per #18192 leveldb impl of EventsByTag query
* also refactoring of EventsByPersistenceIdPublisher

* increase test timeouts
2015-08-21 08:48:32 +02:00