Wow, what an amazing catch!

On Tue, Mar 31, 2015 at 1:01 AM, Konrad Malawski <
[email protected]> wrote:

> Hi guys,
> quick update on the topic.
> It has indeed uncovered a bug in the PromiseActorRef.
> It does handle sending Termination properly, but did so with a mistaken
> actor in the Terminated(…) message, thus you wouldn’t get the Terminated
> you were waiting for, and the above explanation of Yaroslav completes the
> rest of the story.
>
> The fix is in this PR since today morning:
> https://github.com/akka/akka/pull/17102
> <https://github.com/akka/akka/pull/17102:>
>
> Thanks for notifying us that something is fishy around there!
>
> --
> Cheers,
> Konrad 'ktoso’ Malawski
> Akka <http://akka.io> @ Typesafe <http://typesafe.com>
>
> On 29 March 2015 at 09:33:49, Yaroslav Klymko ([email protected]) wrote:
>
> So PrmiseActorRef is leaking and keeps reference on Promise &
> WriteEventsCompleted, still I'm not able to find a combination of
> dispatchers/actors to reproduce on simple example.
>
> On Saturday, March 28, 2015 at 9:33:15 PM UTC+2, Yaroslav Klymko wrote:
>>
>> Hi guys,
>> I have a very strange problem, it was originally spotted by @gfduszynski
>>  https://github.com/EventStore/EventStore.Akka.Persistence/issues/11
>>
>> Here is a problematic line of code
>>  https://github.com/EventStore/EventStore.Akka.Persistence/
>> blob/v2.0.0/src/main/scala/akka/persistence/eventstore/
>> journal/EventStoreJournal.scala#L28
>>
>> Basically it is a *actor ? WriteEvents* which returns
>> *Future[WriteEventsCompleted]*, these *WriteEventsCompleted* messages
>> are leaking, however *actor ! WriteEvents* is not leaking...
>> Also I couldn't reproduce this using simple app without akka persistence.
>>
>>  I will really appreciate any help, any ideas.
>> Thanks!
>>
>>
>>
>>
>> <https://lh3.googleusercontent.com/-GswiQ2lLtTU/VRcAmBy7mDI/AAAAAAAAMHE/0fjbSplbpK4/s1600/Screenshot%2Bat%2BMar%2B28%2B21-26-50.png>
>>
>>
>>
>> <https://lh3.googleusercontent.com/-iBvp3mltxVs/VRcArTBLSpI/AAAAAAAAMHM/1E9raW_PKnI/s1600/Screenshot%2Bat%2BMar%2B28%2B21-26-35.png>
>>
>>
>>
>>   --
> >>>>>>>>>> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
>  --
> >>>>>>>>>> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Cheers,
√

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
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