Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 19 13:31
    to11mtm edited #4584
  • Oct 19 13:31
    to11mtm opened #4584
  • Oct 19 06:26
    Bishnup1995 commented #3784
  • Oct 19 05:49
    dependabot-preview[bot] labeled #153
  • Oct 19 05:49
    dependabot-preview[bot] opened #153
  • Oct 19 05:49

    dependabot-preview[bot] on nuget

    Bump Mongo2Go from 2.2.12 to 2.… (compare)

  • Oct 18 04:08
    mrxrsd commented #2784
  • Oct 17 20:36
    to11mtm synchronize #4581
  • Oct 17 20:26
    to11mtm synchronize #4581
  • Oct 17 19:54
    to11mtm edited #4581
  • Oct 17 19:53
    to11mtm edited #4581
  • Oct 17 19:40
    to11mtm synchronize #4581
  • Oct 16 13:14
    nomailme edited #4583
  • Oct 16 13:14
    nomailme edited #4583
  • Oct 16 13:13
    nomailme opened #4583
  • Oct 16 05:46
    dependabot-preview[bot] labeled #152
  • Oct 16 05:46
    dependabot-preview[bot] opened #152
  • Oct 16 05:45

    dependabot-preview[bot] on nuget

    Bump MongoDB.Driver from 2.11.2… (compare)

  • Oct 16 01:55
    mushroom-cn commented #2510
  • Oct 15 20:03
    dependabot-preview[bot] synchronize #4337
Mikey
@BrainSlugs83
Is there anyway to specify that certain roles cannot be the leader? (I have some roles in my cluster that are transient.)
(Or the opposite of that, to declare: "only these roles can be the leader?" -- black-list or white-list works for me, just need to keep the transients from becoming leaders.)
Aaron Stannard
@Aaronontheweb
heh, that's a good question - no, there isn't at the moment
typically though, one of your seed nodes will almost always be your leader
so just boot the non-transient ones first
the other thing you can do... just thinking about this
is have the leader, whoever it is
it can be any type of node
use a clustered router to deploy your "singleton" actor onto a specific type of role
like instead of having that actor run on the leader itself
the leader instead just becomes responsible for 1. checking if that actor has already been deployed and then 2. deploying it onto a specific role if it hasn't
Mikey
@BrainSlugs83
Oh not a bad idea -- have the leader run the clustered router...
Right -- have to check if it's already been deployed, that makes sense...
Aaron Stannard
@Aaronontheweb
yeah, that's a small bit of "consistency" price you have to pay in exchange for decoupling :p
Mikey
@BrainSlugs83
How would I detect if it's gone down? -- will a deathwatch on the actor itself work, or should I deathwatch on the node itself? (can the router tell me what node it deployed it the "singleton" to?)
Aaron Stannard
@Aaronontheweb
if the router is configured to only deploy a single routee
which is easy to do
you can use router.Tell(new Identify("are you a singleton?"))
and the routee will reply back with ActorIdentity
and then you can Deathwatch the routee
Stefan Sedich
@stefansedich
sigh so I just chucked a simple console app at my mono dev VM, and that segfaulted just running.
Aaron Stannard
@Aaronontheweb
Identify is an auto-received message
meaning that all actors will automatically reply to it
Stefan Sedich
@stefansedich
then it ran after a while, something must be fucked with this vm.
Aaron Stannard
@Aaronontheweb
@stefansedich isn't the cloud magical?
Stefan Sedich
@stefansedich
this is local heh
Aaron Stannard
@Aaronontheweb
isn't virtualization magical?
Stefan Sedich
@stefansedich
indeed
I need another laptop
Mikey
@BrainSlugs83
@Aaronontheweb thanks -- sometimes Akka makes me feel like, I have a hammer, and all these nails -- and for some reason, I'm looking for the screw driver anyway. XD
Zetanova
@Zetanova
How to run one tests or all of one tests lib?
Aaron Stannard
@Aaronontheweb
@Zetanova resharper ;)
or if you want to run the entire test suite, ./build.cmd all
as for re-running it on the build server, I'll need to give you an account
Bartosz Sypytkowski
@Horusiath
@Aaronontheweb this will be more complicated - for some reason when I'm updating nuget packages in persistence plugin projects, references get kicked out of the csproj
ok, I see now - when you usually get nuget package, you should have a separate dir create for it, with *.nupkg file and lib sub-directory
Bartosz Sypytkowski
@Horusiath
now when I'm downloading nightlies I don't have lib sub-dir, only [Content_Types].xml file
Aaron Stannard
@Aaronontheweb
so, no binaries?
Bartosz Sypytkowski
@Horusiath
nope
Zetanova
@Zetanova
@Aaronontheweb why not xunit.runner.visualstudio ?
Aaron Stannard
@Aaronontheweb
@Horusiath welp, might be the FAKE script then
blob
as you can see there, all of the NUKPGs I produced when I ran it yesterday definitely have binaries in them
based on the file sizes
ah, my bad!
those are the symbol pkgs
the true NuGet packages are screwed up
I can see that
so something must not have been updated in the FAKE script when paket was introduced
probably in the output copying step