Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 17:57
    valdisz synchronize #3904
  • 12:27
    valdisz synchronize #3904
  • 11:43
    cptjazz commented #3925
  • 11:40
    cptjazz synchronize #3925
  • 11:02
    valdisz edited #3904
  • 10:55
    Aaronontheweb synchronize #3926
  • 10:45
    Aaronontheweb opened #3927
  • 10:01
    valdisz synchronize #3904
  • 06:22
    cptjazz commented #3925
  • Sep 21 19:33
    Aaronontheweb opened #3926
  • Sep 21 16:19
    valdisz synchronize #3904
  • Sep 21 14:58
    Aaronontheweb synchronize #3924
  • Sep 21 14:58
    Aaronontheweb commented #3922
  • Sep 21 14:45
    valdisz synchronize #3904
  • Sep 21 14:43
    valdisz synchronize #3904
  • Sep 21 14:35
    Aaronontheweb commented #3925
  • Sep 21 09:51
    cptjazz opened #3925
  • Sep 21 09:11
    cptjazz opened #3924
  • Sep 20 23:30

    Aaronontheweb on dev

    added ability to support custom… (compare)

  • Sep 20 23:30
    Aaronontheweb closed #3923
Bartosz Sypytkowski
@Horusiath
@forki from what I've read, you can only reduce the risk:
  • binary files tends to have unusually lot consecutive number of \0.
  • text files (surprising ;) ) tend to have a lot of \r\n sequences
@melcloud it should have been released about month ago ;) hopefully we'll release it until end of this month
maruns
@maruns
Hello, I would like to ask if anybody knows is it possible to send messages between akka.net and typesafe akka?
Tom Rathbone
@chillitom
@Horusiath once I've given this mysql persistence adaptor a thorough testing shall I transfer it to the akkadotnet organization on github?
Steffen Forkmann
@forki
@Horusiath I guess a generic message is good enough. /cc @ilkerde it's better than let your soundcard go crazy
Bartosz Sypytkowski
@Horusiath
@chillitom you have my blessing ;) @Aaronontheweb could we create a repository for Akka.Persistence.MySql?
Tom Rathbone
@chillitom
i think I can just transfer ownership of my existing one
humph, doesn't appear to work as under the covers it still thinks it's the postgres repo and that already exists
let me know when the repo exists and I'll open a PR
Yin Zhang
@melcloud
@Horusiath great! thanks
Tom Rathbone
@chillitom
@Horusiath just trying to implement a persistent actor using the existing Akka.FSharp .. I see what you mean now!
Abdulrahman Hawa
@abed-hawa

Hi guys, I have a weird problem with my actor, it keeps saying started then stopped, but I have no clue whats happening under the hood:

2015-11-18 16:23:57.6168|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Started (Akka.Remote.Transport.ProtocolStateActor)
2015-11-18 16:24:27.6578|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Stopped
2015-11-18 16:24:42.6344|DEBUG|Akka.Remote.Transport.AkkaProtocolManager|now supervising akka://converter/system/transports/akkaprotocolmanager.tcp.0/akkaProtocol-tcp%3a%2f%2fconverter%40192.168.56.1%3a60161-107
2015-11-18 16:24:42.6344|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Started (Akka.Remote.Transport.ProtocolStateActor)
2015-11-18 16:25:12.6871|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Stopped
2015-11-18 16:25:27.6402|DEBUG|Akka.Remote.Transport.AkkaProtocolManager|now supervising akka://converter/system/transports/akkaprotocolmanager.tcp.0/akkaProtocol-tcp%3a%2f%2fconverter%40192.168.56.1%3a60162-108
2015-11-18 16:25:27.6402|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Started (Akka.Remote.Transport.ProtocolStateActor)

It's doing the start/stop on every message sent, but actor doesn't execute, how can I probably check whats happening?
Roger Johansson
@rogeralsing
@abed-hawa maybe it throws an exception in its constructor?
Abdulrahman Hawa
@abed-hawa

@rogeralsing I'm initialising my actor like this:
ActorSystem = ActorSystem.Create("converter", config);
actor = ActorSystem.ActorOf<App_Code.ActorName>("ActorName");

its not raising any exceptions

How can I log an exception like that if its happening in realtime?
runtime*
Tom Rathbone
@chillitom
if I load a persistent actor and immediately send it some messages to process followed by a GracefulStop it appears that the actor stops without processing any messages from the inbox.. is this to be expected?
Tom Rathbone
@chillitom
is there any way to disable type naming in the JSON serialization? why is this needed?
Dmitriy Tadyshev
@ditadi
@rogeralsing It seems like Wire serializer fails for FSharpSet, I cloned wire repo and wrote quick test. Is it supposed to work with FSharp sets yet?
I tested a FSharp list and that works just fine, I may just refactor my code to use a list instead of set for now.
Aaron Stannard
@Aaronontheweb
@abed-hawa check the message
not the actor
Aaron Stannard
@Aaronontheweb
@Aaronontheweb
hmmm... I've seen the multi-node test runner hang twice on this:Step 1/1: Writing test state to: D:\BuildAgent\work\49b164d63843fb4\TestResults\Akka.Cluster.Tests.MultiNode-635834644789423697.json
including right now
literally just writing to a file
Aaron Stannard
@Aaronontheweb
logged #1433 for it
just saw it happen again
really weird
@chillitom in order for serialization to be fully transparent, it must be fully qualified
all statically typed, in other words
although I thought the Google Protocol Buffer envelope around the JSON blob had the type name burned into it
so it may not be necessary to do it again inside the JSON
that's a better question to ask @rogeralsing
Roger Johansson
@rogeralsing
@chillitom we need to support subtype serialization. e.g. if you have a property of type animal but the value is of type cat, then the deserializaed value needs to be materialized back as cat
Aaron Stannard
@Aaronontheweb
@rogeralsing thanks :+1:
Roger Johansson
@rogeralsing
also if you have arrays of objects, like we do for constructor arguments for remote deployment, then we need the type for all the args
Tom Rathbone
@chillitom
okay, makes sense
do you think it could be exposed as an option? we are simply using f# discriminated unions as 'Event types, would be nice if they could be kept short and sweet
in the postgres adaptor theres a comment about restricting the ticks column
Bartosz Sypytkowski
@Horusiath
@chillitom in general, when you use persisted events, never let other party decide how should they be serialized
use your own serializer instead
Aaron Stannard
@Aaronontheweb
cc @davidflerlage regarding Postgres plugin
Tom Rathbone
@chillitom
was wondering if someone could explain "restricting created_at_ticks to the range [0,10) to ensure that there are no precision differences in the opposite direction"
I haven't applied such a constraint in the MySQL adaptor as unsure of the reasons behind it
Tom Rathbone
@chillitom
@Horusiath thanks for the advice, I'll do that
Aaron Stannard
@Aaronontheweb
man, I can't get a single build to pass right now with all of these racy spec failures
even a PR for fixing one of them! :p
only happens on the el cheapo Azure boxes
and not my dev machine
Christian Duhard
@cduhard
Has anyone seen an issue in Akka.Persistence where the state update falls behind writing to the persistence store?