Sounds like a bug. Please create an issue
<https://github.com/akka/akka/issues>. Thanks for reporting.
Regards,
Patrik

On Wed, Sep 17, 2014 at 7:17 PM, <danny.brown...@protectwise.com> wrote:

> I'm seeing a similar issue, where if you handle RecoveryFailure, nothing
> happens afterwards. Once the actor enters onRecoveryFailure
> <https://github.com/akka/akka/blob/cb05725c1ec8a09e9bfd57dd093911dd41c7b288/akka-persistence/src/main/scala/akka/persistence/Processor.scala#L172>
>  there
> doesn't seem to be a way to transition out of it. It seems that
> onReplayFailure
> <https://github.com/akka/akka/blob/cb05725c1ec8a09e9bfd57dd093911dd41c7b288/akka-persistence/src/main/scala/akka/persistence/Recovery.scala#L107>
>  should
> call onRecoveryCompleted
> <https://github.com/akka/akka/blob/cb05725c1ec8a09e9bfd57dd093911dd41c7b288/akka-persistence/src/main/scala/akka/persistence/Processor.scala#L178>
>  (possibly
> in initializing
> <https://github.com/akka/akka/blob/cb05725c1ec8a09e9bfd57dd093911dd41c7b288/akka-persistence/src/main/scala/akka/persistence/Processor.scala#L93>)
> or we should be able to send a message to ourselves that the transition
> should occur.
>
> On Tuesday, September 9, 2014 2:17:05 AM UTC-6, Konrad Malawski wrote:
>>
>> Hello Moiz,
>> That's weird (and could be a bug?).
>> Would you mind collecting some logs with debug logging enabled?
>>
>> Here's how to enable it: http://doc.akka.io/docs/akka/
>> snapshot/java/logging.html#auxiliary-logging-options
>> Also, logging deadletters may be useful
>>
>>    1. akka {
>>    2. log-dead-letters = 10
>>    3. log-dead-letters-during-shutdown = on
>>    4. }
>>
>>
>> On Sun, Sep 7, 2014 at 12:18 PM, Moiz Raja <moiz...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I am using the java version of akka-persistence 2.3.4 where I have
>>> several actors which extend PersistentActor and which handle both
>>> RecoveryCompleted and RecoveryFailure. I am using the default journaling
>>> and snapshot plugins.
>>>
>>> I'm running into this an issue with recovery where on some of my actors
>>> I get neither a RecoveryCompleted nor RecoveryFailure message and the actor
>>> gets stuck.
>>>
>>> What kind of diagnostics can I use to figure out why this may be
>>> happening?
>>>
>>> -Moiz
>>>
>>> --
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
>>> current/additional/faq.html
>>> >>>>>>>>>> Search the archives: https://groups.google.com/
>>> group/akka-user
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to akka-user+...@googlegroups.com.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Cheers,
>> Konrad 'ktoso' Malawski
>> hAkker @ Typesafe
>>
>> <http://typesafe.com>
>>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to