Skip to content
This repository
branch: master

Jun 26, 2014

  1. Patrik Nordwall

    Merge pull request #15450 from akka/wip-15424-master-patriknw

    +per #15424 Added PersistentView, deprecated View (for validation)
    patriknw authored
  2. Konrad Malawski

    +per #15424 Added PersistentView, deprecated View

    A PersistentView works the same way as View did previously, except:
    
    * it requires an `peristenceId` (no default is provided)
    * messages given to `receive` are NOT wrapped in Persistent()
    
    akka-streams not touched, will update them afterwards on different branch
    
    Also solves #15436 by making persistentId in PersistentView abstract.
    
    (cherry picked from commit dcafaf7)
    
    Conflicts:
    	akka-docs/rst/java/lambda-persistence.rst
    	akka-docs/rst/java/persistence.rst
    	akka-docs/rst/scala/persistence.rst
    	akka-persistence/src/main/scala/akka/persistence/Persistent.scala
    	akka-persistence/src/main/scala/akka/persistence/View.scala
    ktoso authored patriknw committed

Jun 25, 2014

  1. Patrik Nordwall

    Merge pull request #15444 from akka/wip-15429-persistence-docs-master…

    …-patriknw
    
    =per #15429 Rewrite persistence documentation and samples (for validation)
    patriknw authored
  2. Patrik Nordwall

    =per #15429 Rewrite persistence documentation and samples for 2.3.4 c…

    …hanges
    
    (cherry picked from commit 02351e3)
    
    Conflicts:
    	akka-samples/akka-sample-persistence-java-lambda/tutorial/index.html
    	akka-samples/akka-sample-persistence-java/tutorial/index.html
    	akka-samples/akka-sample-persistence-scala/build.sbt
    	akka-samples/akka-sample-persistence-scala/src/main/scala/sample/persistence/ConversationRecoveryExample.scala
    	akka-samples/akka-sample-persistence-scala/src/main/scala/sample/persistence/PersistentActorExample.scala
    	akka-samples/akka-sample-persistence-scala/src/main/scala/sample/persistence/ProcessorChannelExample.scala
    	akka-samples/akka-sample-persistence-scala/src/main/scala/sample/persistence/ProcessorChannelRemoteExample.scala
    	akka-samples/akka-sample-persistence-scala/src/main/scala/sample/persistence/SnapshotExample.scala
    	akka-samples/akka-sample-persistence-scala/src/main/scala/sample/persistence/StreamExample.scala
    	akka-samples/akka-sample-persistence-scala/tutorial/index.html
    patriknw authored
  3. Martin Krasser

    +per,+str #15035 Reactive-stream producers for persistent messages wr…

    …itten by akka-persistence processors
    
    (cherry picked from commit 5dc6240)
    
    Conflicts:
    	akka-docs/rst/scala/code/docs/persistence/PersistenceDocSpec.scala
    	project/AkkaBuild.scala
    krasserm authored patriknw committed
  4. Patrik Nordwall

    Merge pull request #15430 from spray/w/add-japi-Option-getOrElse

    +act #15383 add strict japi.Option.getOrElse to simplify working with options from Java
    patriknw authored

Jun 24, 2014

  1. Konrad Malawski

    Merge pull request #15435 from ktoso/port-deprecations-channel-ktoso

    !per #15230 deprecate Channel and PersistentChannel (for Validation)
    ktoso authored
  2. Konrad Malawski

    =per #15230 deprecate Channel and PersistentChannel

    Conflicts:
    	akka-persistence/src/main/scala/akka/persistence/Channel.scala
    	akka-persistence/src/main/scala/akka/persistence/PersistentChannel.scala
    	akka-persistence/src/test/scala/akka/persistence/serialization/SerializerSpec.scala
    ktoso authored
  3. Konrad Malawski

    Merge pull request #15434 from ktoso/port-persistenceId-ktoso

    !per #15230 rename processorId => persistentId (for validation)
    ktoso authored
  4. Konrad Malawski

    !per #15230 rename processorId => persistentId

    * This is NOT binary compatible, we're in an *experimental* module.
    * disabled binary compat checks for package akka.persistence
    * Source compatibility is retained, but users should migrate do the new
      method name ASAP.
    * Plugin APIs were migrated in a way that allows the old plugins to
      compile agains 2.3.4 without having to change anything. Hopefuly this
      will help authors migrate to 2.3.4 sooner. This is only source level compatible, not binary compatible.
    * added deprecation warnings on all processorId methods and provided bridges where possible
    * for users, the migration should be painless, they can still override
      the old method, and it'll work. But we encourage them to move to
      persistenceId; All delegation code will have to be removed afterwards ofc.
    
    Conflicts:
    	akka-persistence/src/main/scala/akka/persistence/Channel.scala
    	akka-persistence/src/main/scala/akka/persistence/JournalProtocol.scala
    	akka-persistence/src/main/scala/akka/persistence/Persistent.scala
    	akka-persistence/src/main/scala/akka/persistence/PersistentChannel.scala
    	akka-persistence/src/main/scala/akka/persistence/Processor.scala
    	akka-persistence/src/main/scala/akka/persistence/Snapshot.scala
    	akka-persistence/src/main/scala/akka/persistence/journal/AsyncWriteProxy.scala
    	akka-persistence/src/main/scala/akka/persistence/journal/inmem/InmemJournal.scala
    	akka-persistence/src/main/scala/akka/persistence/journal/leveldb/LeveldbKey.scala
    	akka-persistence/src/main/scala/akka/persistence/snapshot/SnapshotStore.scala
    	akka-persistence/src/test/scala/akka/persistence/serialization/SerializerSpec.scala
    	project/AkkaBuild.scala
    ktoso authored
  5. Johannes Rudolph

    +act #15383 add strict japi.Option.getOrElse to simplify working with…

    … options from Java
    jrudolph authored
  6. Konrad Malawski

    Merge pull request #15416 from mkubala/missing-sender-parens-mkubala

    =act,clu,con,doc,per,rem,sam #15114 append missing parens at sender invocations
    ktoso authored

Jun 23, 2014

  1. Patrik Nordwall

    Merge pull request #15421 from akka/wip-13992-identify-wildcards-mast…

    …er-patriknw
    
    +act #13992 Improve identify replies of wildcard selections (for validation)
    patriknw authored
  2. Patrik Nordwall

    +act #13992 Improve identify replies of wildcard selections

    (cherry picked from commit 4747b18)
    
    Conflicts:
    	akka-actor/src/main/scala/akka/actor/ActorSelection.scala
    	project/AkkaBuild.scala
    patriknw authored
  3. Patrik Nordwall

    =act #13942 Avoid allocations in LoggingReceived when disabled

    patriknw authored

Jun 20, 2014

  1. Marcin Kubala

    =act,clu,con,doc,per,rem,sam #15114 append missing parens at Actor.se…

    …nder() invocations
    mkubala authored
  2. Konrad Malawski

    =tes #15132 remove not needed lazy val

    ktoso authored
  3. Konrad Malawski

    Merge pull request #15370 from mkubala/expectMsg-with-hint-mkubala

    +tes #15132 Add additional overloaded expectMsg to TestKit
    ktoso authored
  4. kenji yoshida

    =act #15395 update typesafe config API URL

    xuwei-k authored ktoso committed

Jun 10, 2014

  1. Konrad Malawski

    Merge pull request #15381 from ktoso/port-defer

    !per PersistentActor#defer (forward port)
    ktoso authored
  2. Konrad Malawski

    +per #15229 defer for PersistentActor

    * Deferred events are not persisted, thus will not participate in replays
      etc. If users want events to be persisted, they can simply use
      `persistAsync` instead.
    * This, 3rd, rewrite extends the Persistent hierarchy by a top level
      trait "Resequenceable", which is used to mark every event to be sent
      in sequence back to the PersistentActor. These are split into
      NonPersistentRepr or PersistentRepr, and acted upon accordingly.
    * defer is guaranteed to be called, even after persistence failures
    * Includes docs updates for java/scala/java8
    
    Resolves #15229
    Depends on #15227
    
    Conflicts:
    	akka-docs/rst/scala/code/docs/persistence/PersistenceDocSpec.scala
    	akka-persistence/src/main/scala/akka/persistence/JournalProtocol.scala
    	akka-persistence/src/main/scala/akka/persistence/Processor.scala
    	akka-persistence/src/test/scala/akka/persistence/PersistentActorSpec.scala
    	project/AkkaBuild.scala
    ktoso authored
  3. Björn Antonsson

    Merge pull request #15385 from akka/wip-13944-send-marker-message-aft…

    …er-recovery-finished-master-ban
    
    +per #13944 Send RecoveryComplete message at end of recovery (Validation)
    bantonsson authored
  4. Martynas Mickevičius

    Merge pull request #15362 from 2m/pubsub-wrap-before-routing

    =con #15285 wrap message in RouterEnvelope before routing (for validation)
    2m authored
  5. Björn Antonsson

    +per #13944 Send RecoveryComplete message at end of recovery

    Fixes #13944
    
    Conflicts:
    	akka-docs/rst/scala/code/docs/persistence/PersistenceDocSpec.scala
    	akka-persistence/src/main/scala/akka/persistence/Processor.scala
    	project/AkkaBuild.scala
    bantonsson authored
  6. Patrik Nordwall

    Merge pull request #15382 from akka/wip-15365-UniqueAddress-master-pa…

    …triknw
    
    +clu #15365 Make cluster.UniqueAddress public (for validation)
    patriknw authored
  7. Konrad Malawski

    Merge pull request #15380 from ktoso/port-persistAsync

    !per PersistentActor#persistAsync (forward port)
    ktoso authored
  8. Martynas Mickevičius

    =con #15285 wrap message in RouterEnvelope before routing

    PubSubMediator uses router which always unwraps RouterEnvelope messages.
    However unwrapping is undesirable if user sends message in
    ConsistentHashableEnvelope. Thus PubSubMediator should always wrap user
    messages in RouterEnvelope which will be unwrapped by the router, leaving
    user message unchanged.
    
    Also disallow consistent hashing routing logic in pub-sub mediator.
    2m authored
  9. Patrik Nordwall

    +clu #15365 Make cluster.UniqueAddress public

    (cherry picked from commit 2a2caee)
    
    Conflicts:
    	akka-cluster/src/main/scala/akka/cluster/Member.scala
    patriknw authored
  10. Konrad Malawski

    !per persistAsync

    Breaks binary compatibility because adding new methods to Eventsourced
    trait. Since akka-persistence is experimental this is ok, yet
    source-level compatibility has been perserved thankfuly :-)
    
    Deprecates:
    * Rename of EventsourcedProcessor -> PersistentActor
    * Processor -> suggest using PersistentActor
    * Migration guide for akka-persistence is separate, as wel'll deprecate in minor versions (its experimental)
    * Persistent as well as ConfirmablePersistent - since Processor, their
      main user will be removed soon.
    
    Other changes:
    * persistAsync works as expected when mixed with persist
    * A counter must be kept for pending stashing invocations
    * Uses only 1 shared list buffer for persit / persistAsync
    * Includes small benchmark
    * Docs also include info about not using Persistent() wrapper
    * uses java LinkedList, for best performance of append / head on
      persistInvocations; the get(0) is safe, because these msgs only
      come in response to persistInvocations
    * Renamed internal *MessagesSuccess/Failure messages because we kept
      small mistakes seeing the class "with s" and "without s" as the same
    * Updated everything that refered to EventsourcedProcessor to
      PersistentActor, including samples
    
    Refs #15227
    
    Conflicts:
    	akka-docs/rst/project/migration-guides.rst
    	akka-persistence/src/main/scala/akka/persistence/JournalProtocol.scala
    	akka-persistence/src/main/scala/akka/persistence/Persistent.scala
    	akka-persistence/src/test/scala/akka/persistence/PersistentActorSpec.scala
    	project/AkkaBuild.scala
    ktoso authored

Jun 09, 2014

  1. Björn Antonsson

    Merge pull request #15376 from akka/wip-13898-failed-SharedLeveldbJou…

    …rnalSpec-master-ban
    
    =per #13898 Make LocalSnapshotStore directory creation more robust (Validation)
    bantonsson authored
  2. Björn Antonsson

    Merge pull request #15375 from akka/wip-13962-investigate-leveldb-com…

    …paction-issue-master-ban
    
    =per #13962 Close LevelDB snapshots to avoid resource leakage (Validation)
    bantonsson authored
  3. Björn Antonsson

    =per #13898 Make LocalSnapshotStore directory creation more robust

    bantonsson authored
  4. Björn Antonsson

    =per #13962 Close LevelDB snapshots to avoid resource leakage

    bantonsson authored

Jun 06, 2014

  1. Marcin Kubala

    +tes #15132 Add additional overloaded expectMsg to TestKit

    mkubala authored mkubala committed

Jun 05, 2014

  1. Patrik Nordwall

    Merge pull request #15348 from akka/wip-13678-identify-deadLetters-ma…

    …ster-patriknw
    
    =act #13678 #15149 Reply with ActorIdentity(None) from deadLetters (for verification)
    patriknw authored
Something went wrong with that request. Please try again.