Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 14 21:02
    Aaronontheweb synchronize #3975
  • Oct 14 21:02
    Aaronontheweb opened #3975
  • Oct 14 20:11
    IgorFedchenko commented #3973
  • Oct 14 20:10
    IgorFedchenko synchronize #3973
  • Oct 14 20:06
    IgorFedchenko synchronize #3973
  • Oct 14 20:06
    IgorFedchenko synchronize #3973
  • Oct 14 19:42
    IgorFedchenko edited #3973
  • Oct 14 18:08
    Aaronontheweb commented #3937
  • Oct 14 17:27
    Aaronontheweb commented #90
  • Oct 14 17:26
    Aaronontheweb commented #90
  • Oct 14 17:25
    Aaronontheweb assigned #90
  • Oct 14 17:16

    Aaronontheweb on dev

    Provide static GetRoutees.Insta… (compare)

  • Oct 14 17:16
    Aaronontheweb closed #3974
  • Oct 14 17:16
    Aaronontheweb milestoned #3974
  • Oct 14 16:05
    jackowild opened #90
  • Oct 14 15:08
    Aaronontheweb commented #3974
  • Oct 14 15:08
    Aaronontheweb commented #3974
  • Oct 13 14:40
    cptjazz synchronize #3974
  • Oct 13 14:07
    cptjazz opened #3974
  • Oct 13 08:30
    ismaelhamed commented #3937
Christian Duhard
@cduhard
k, is there a pre build available?
Aaron Stannard
@Aaronontheweb
yessir, on the nightly feed I just linked
Christian Duhard
@cduhard
cool, thanks
Aaron Stannard
@Aaronontheweb
step-by-step docs for setting that up within NuGet
Chris G. Stevens
@cgstevens
I have a 2 websites that are part of my cluster. Sometimes one websites will become unreachable and my logic for all of the other members determine that after 120 seconds they should do a Cluster.Down(ThatWebsiteAddress). I can see that all of the members get a MemberRemoved for that website and then it is reported as Down.
My problem is that when my other service detects that this website is down and has been removed from the cluster it tries restarts that website. I can see see it trying to join and I get this message: [[akka://MyService/system/cluster/core/daemon]] - New incarnation of existing member [UniqueAddress: (akka.tcp://My@1.1.9.2:57771, 303375918)] is trying to join. Existing will be removed from the cluster and then new member will be allowed to join.
But it never gets removed from the cluster so the member never is able to join. I can try to have a member .Leave(ThatWebAddress) and do another .Down(ThatWebAddress) but it never gets removed. Basically I have a ClusterStatus actor that monitors the status of the cluster from its view and determines if it needs to restart itself or if a member has been unreachable for x seconds to down it. If so it shuts that service down and logs to the event log for Solarwinds to determine if the service or website needs to be started back up.
Aaron Stannard
@Aaronontheweb
@cgstevens I'll give you a full answer when I get into the office, but the short answer is that nodes have to be manually issued a Cluster.Down command to remove them from the cluster
node being disconnected != node leaving the cluster
Akka.Cluster achieves partition tolerance by treating unexpected disconnects as transient failures, and for now relies on humans to manually tell the cluster when a disconnect is a permanent failure or not
definitely do not recommend turning auto-down on in HOCON config, which it sounds like might be the case here
you'll end up with a split brain most of the time
Chris G. Stevens
@cgstevens
right I was using that but that killed my cluster.
so I created my own ClusterStatus to down per our business rules..
Aaron Stannard
@Aaronontheweb
ah, very cool - so are you sure the right node is being downed when that happens?
I see in the message it looks like a node definitely gets removed
but the same node can't join again?
Chris G. Stevens
@cgstevens
no.. I just get that message
I can see in the Member list that is Down
Aaron Stannard
@Aaronontheweb
ok, sounds like that might be a bug - would you mind logging an issue for it?
we have a multi-node spec that covers this but I don't know if it's been ported yet
Chris G. Stevens
@cgstevens
Sure can and will.
Aaron Stannard
@Aaronontheweb
thanks!@
Chris G. Stevens
@cgstevens
No problem... I can feel I am getting closer and closer and as our system comes together using Angular, SignalR (sql backplane), MVC5, Akka, Log4Net and TopShelf...
Just love a can send a Message from multiple services to a webpage and don't have to refresh the page...
Thanks for your help!
Bartosz Sypytkowski
@Horusiath
@chillitom there is a retype function, which returns new IActorRef<> responding on new generic type. Type is actually infered.
Bartosz Sypytkowski
@Horusiath
so using your example, you could just do something like that:
let a = retype p
a <! Inc
a <! Dec
a <? GetState |> Async.RunSynchronously |> printfn "State: %d"
Aaron Stannard
@Aaronontheweb
@Horusiath what do we need to be able to ship our 1.0.5 releasE?
I want to get it out ASAP
nightlies work again
Bartosz Sypytkowski
@Horusiath
I'll try to do it ASAP
Aaron Stannard
@Aaronontheweb
would you remind me again what it is that needs to be done? I've forgotten since our contributor meeting
Bartosz Sypytkowski
@Horusiath
akka.persistence.sqlserver and akka.persistence.postgresql
Aaron Stannard
@Aaronontheweb
think you could have it done by tomorrow, assuming no major issues?
Bartosz Sypytkowski
@Horusiath
I'll do my best
Aaron Stannard
@Aaronontheweb
ty sir
Patrick Kelly
@featuresnap
hi, is there a nuget package which includes the Akka.Remote.TestKit assembly?
Aaron Stannard
@Aaronontheweb
@featuresnap I don't think so - we haven't packaged up the Akka.MultiNodeTestRunner.exe yet, which you'd need to run the tests
that should happen in the next month or two though as we get closer to stablizing it
the MNTR has been a pain in the butt to debug
Christian Duhard
@cduhard
hmm EventStoreJournal is broken after i updated to latest Nightly
"Method 'DeleteAsync' in type 'Akka.Persistence.EventStore.Snapshot.EventStoreSnapshotStore' from assembly 'Akka.Persistence.EventStore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation."
Christian Duhard
@cduhard
can I just implement the DeleteAsync and return Task.FromResult<object>(null) ?
Christian Duhard
@cduhard
that'll do it...
Bartosz Sypytkowski
@Horusiath
@cduhard eventstore plugin is not under our control
Bartosz Sypytkowski
@Horusiath
@Aaronontheweb I'm not sure but it looks like we need to paket-ify our plugins too
Zetanova
@Zetanova
@Horusiath I created with a copy of sqlite a common sql persistence adapter. It is using DbFactoryProvider to create all db components. But how to create a test db?
Bartosz Sypytkowski
@Horusiath
@Zetanova I feel a little out of context. Can you take a look at existing sql persistence tests?
Zetanova
@Zetanova
@Horusiath i copied them from sqlite, now i want to test with LocalDb
Bartosz Sypytkowski
@Horusiath
as I see it's based on the default sqlite db initializer (flag auto-initialize = on ), while database name is generated for each new test from spec constructor
to ensure that parallel test won't interfere with each other
Zetanova
@Zetanova
"CREATE TABLE IF NOT EXISTS" is not supported in mssql ?