These are chat archives for akkadotnet/akka.net

10th
Aug 2017
Robert Stiff
@uatec
Aug 10 2017 09:35
I want to start my actors children AFTER snapshot recovery
so that i can initialise the children correctly
but if it is our first run, then there will be no snapshot recovery
is there a hook i can use for After snapshot Would have run?
Ilya Komendantov
@IlyaKomendantov_twitter
Aug 10 2017 09:45
how about overriding OnReplaySuccess ?
Robert Stiff
@uatec
Aug 10 2017 09:50
does that get called every time? even on first run?
Ilya Komendantov
@IlyaKomendantov_twitter
Aug 10 2017 09:51
OnReplaySuccess is a virtual method which will be called when the recovery cycle ends successfully.
OnReplayFailure is a virtual method which will be called when the recovery cycle fails unexpectedly from some reason.
Robert Stiff
@uatec
Aug 10 2017 09:51
hmm, i guess i'll give it a go
i didn't know about taht
good, it seems to be called, even if i have no existing snapshot or anything
great, thanks
exactly what i wanted
the docs talk about Rich Lifecycle Events
but it doesn't document them, except in the class documentation
Robert Stiff
@uatec
Aug 10 2017 10:00
now i need to figure out what's wrong with my Cluster Singleton
if the node that initializes it starts second, the singleton never starts
and if that node terminates, then singleton dies and never recovers
Paweł Bańka
@pmbanka
Aug 10 2017 12:03
@Aaronontheweb when are you releasing 1.3? I think I found another bug in BatchingSqlJournal, but I'll need an hour to verify
Arjen Smits
@Danthar
Aug 10 2017 12:34
We will this week. If fate permits :P
Ilya Komendantov
@IlyaKomendantov_twitter
Aug 10 2017 12:57
wow, awesome news! )
Paweł Bańka
@pmbanka
Aug 10 2017 14:05
@Danthar I submitted a PR akkadotnet/akka.net#2951
it would be awesome if you managed to squeeze it into 1.3 :)
Vagif Abilov
@object
Aug 10 2017 14:08
I second @pmbanka's suggestion to merge his PR into 1.3. Without this PR those who switched to SQL batching journal (like us) will be out of luck.
Arjen Smits
@Danthar
Aug 10 2017 14:35
Took a quick look at it. We already tagged @Horusiath who is the original author. I know he's on vacation. Not sure when he'll be back. But ill forward your concerns to the rest of the core team, and see what we can do.
Aaron Stannard
@Aaronontheweb
Aug 10 2017 14:58
@object @pmbanka that PR is pretty simple; I've reviewed it but I'll take a deeper look under the covers
I think we can merge it without bothering @Horusiath while he's on vacation
Robert Stiff
@uatec
Aug 10 2017 16:36
I have created a round-robin-pool, but now i want to stop it, so I tried GracefulStop(), and I tried sending it a poison pill, and i tried sending it a broadcast poison pill, but it never shuts down the actors