Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 09:33
    george-zubrienko edited #6391
  • 09:33
    george-zubrienko edited #6391
  • 09:31
    george-zubrienko edited #6391
  • 09:31
    george-zubrienko opened #6391
  • 08:52
    sddania commented #4604
  • 08:52
    sddania commented #4604
  • 03:58

    Aaronontheweb on dev

    harden `ClusterLogVerboseSpec` … (compare)

  • 03:58
    Aaronontheweb closed #6390
  • 03:40
    Aaronontheweb synchronize #6390
  • 03:39
    Aaronontheweb closed #6377
  • 03:39

    Aaronontheweb on dev

    Fix for issue #6377 (#6378) * … (compare)

  • 03:39
    Aaronontheweb closed #6378
  • 03:39
    Aaronontheweb auto_merge_disabled #6378
  • 03:27
    Aaronontheweb auto_merge_enabled #6390
  • 03:26
    Aaronontheweb synchronize #6390
  • 03:26
    Aaronontheweb labeled #6390
  • 03:26
    Aaronontheweb opened #6390
  • 03:26
    Aaronontheweb labeled #6390
  • 03:14
    Aaronontheweb labeled #6389
  • 03:14
    Aaronontheweb labeled #6389
Davydov Denis
@Inkp
Sorry, but I'd like to ask again. What happens with stashed messages on an actor which received a poison pill by default? My tests show that akka yields INFO message Message StashedMessage from akka://Sys/deadLetters to akka://Sys/user/actor was not delivered. 1 dead letters encountered after actor's termination. That might indicate that all stashed messages are dumped into deadLetters. Is that right?
Arjen Smits
@Danthar
@sherry-ummen Its not that there are specific plans against it. Its just that the issue has lost focus since other things became more important. If you want you can "stir the pot" here. akkadotnet/akka.net#1313
@Inkp yes. When an actor dies. Its state is reset, this also means that any stashed messages are gone.
Davydov Denis
@Inkp
@Danthar, are they completely gone without a trace or are they dumped into deadLetters?
Arjen Smits
@Danthar
which 99.9999999999% of actors that use stashes do
then you won't see any messages
however, if you unstash on stop / restart
all of those unstashed messages will be dumped into deadletters
and DeadLetter events will be published onto the EventStream
containing each of those messages
s> o someone could theoretically grab them
To quote @Aaronontheweb a scroll's up
Davydov Denis
@Inkp
Well that explanation did not clear this question for me, that is why I am asking again.
What I understood from that, is that you have to manually unstash messages before termination for them to go into deadLetters
But my tests indicate that INFO messages regarding "deadLetters" and "StashedMessage" still appear even if I do not unstash my messages manually.
Arjen Smits
@Danthar
@Inkp you are right.
When you have messages on the stash, and the actor is killed, by poisonpill or otherwise.
So not restarted.
The stashed messages are automatically deadlettered
Also when you have stashed messages, and the actor restarts, it automatically unstashes
Davydov Denis
@Inkp
Okay, thanks for clearing this for me! How do I handle stashed messages in case I want them discarded if actor stops/restarts? Do I Stash.ClearStash() on PostStop()?
This message was deleted
And more philosophical question. What is the reasoning behind unstahing messages on actor restart? Isn't stash a part of actor's state? Thus it should be discarded like any other actor's non-persistent state.
Arjen Smits
@Danthar
@Inkp you would have to try it out, never used ClearStash(). But on PostStop() seems reasonable.
Arjen Smits
@Danthar
As to the philosophical question. Not sure. I just know its really handy in most cases :P
Ralf
@Ralf1108
hi, when unit testing actors via Testkit... is it still required in latest version to tear down the test actor system?
or is this handled by the base class "Testkit"?
Marc Piechura
@marcpiechura
@Ralf1108 that's handled by the Teskit
Ralf
@Ralf1108
ok thx
but is it normal that after test completes there are so much debug log entries like
DeadLetter from [akka://test/user] to [akka://test/user]: <<DeathWatchNotification>: [akka://test/user/TestProbe_DetailPageVersion_9c57b66d-5cc9-4b73-8ad4-d4bdef0ad324], ExistenceConfirmed=True, AddressTerminated=False>
do I have to collect these DeathWatchNotifications by myself?
or can I suppress them?
Arjen Smits
@Danthar
@Ralf1108 its normal. What is happening is that as the ActorSystem is being shutdown. Various actors are sending DeathWatchNotifications (which is a system level message), to Actors that are already gone.
Thus the deadletter logs
nothing to worry about.
Ralf
@Ralf1108
is it possible to suppress them as they pollute the test log :-)
Arjen Smits
@Danthar
There is currently some work being done to suppress deadletter notifications for system messages, but it needs more work.
So not at this time
Ralf
@Ralf1108
ok good to know. thx!
Aaron Stannard
@Aaronontheweb
off-topic, but I just switched to using this yesterday: http://cmder.net/
much nicer commandline experience for Windows
John Nicholas
@MrTortoise
ive used conemu for a while it is v good, noticed that is based off it. v cool
Jordan S. Jones
@jordansjones
heh.. I use Git-bash
Artur Karbone
@ArturKarbone
Have anyone used app/web config transformations for HOCON? Any sample?
Aaron Stannard
@Aaronontheweb
I have
I just replace the entire HOCON section full stop
Artur Karbone
@ArturKarbone
Yeah I suspected that replace of the whole section required
cfjames
@cfjames
Question on Cluster Sharding: Can you have more than one instance of a given type of entity on a single Node? The only statement I could find of this issue was "One entity instance may live only at one node at the time" in the documentation, but I'm not really sure what that is supposed to mean.
Bartosz Sypytkowski
@Horusiath
@cfjames yes you can. This statement means, that if you have for example actor representing User with id=1, you may be sure that as long as cluster is not partitioned, no more than one actor representing that user will be present at the same time, keeping your user state consistent
cfjames
@cfjames
@Horusiath got it thanks.
Kris Schepers
@schepersk
Any example out there on how to use Cluster Sharding with Lighthouse?
Vagif Abilov
@object
Hello, I am moving my router configuration to HOCON, but I am using my own hash mapping function that I send to WithHashMapping. Does this disqualifiy router configuration in HOCON file?
Kris Schepers
@schepersk
When Lighthouse is running and a node where a Sharding Region starts, I see the following message in the Lighthouse logging: "Messge Register from akka.tcp://clustername@ip:port/user/sharding/typename to akka://clustername/user/sharding/typenameCoordinator/singleton/coordinator was not delivered"
Andrea Balducci
@andreabalducci
@cconstantin need some info for the MongoDb Persistence. Just aligned to akka 1.0.7 on my fork, now I've to implement AtomicWrites. It is possible to have a call to WriteMessagesAsync with AtomicWrites on more than one PersistenceId?