These are chat archives for atomix/atomix

Jan 2017
Jordan Halterman
Jan 13 2017 05:22
Right that's what I was thinking. No problem releasing it when it's fixed, and I'll take a look at it more closely soon
@ccleve we should add that to the Atomix API for sure. Right now session timeouts can only be set on servers/replicas in Atomix. Support for clients setting the timeout was just added to Copycat. We should add them to the Atomix client. We also have some performance improvements and other small changes that will probably mean another minor release pretty soon along with #260
I'll add the timeout right now actually
Jan 13 2017 09:13

@kuujo Great work! Thanks for the release and addressing all requests in such short notice.

I confirmed that group.getMember("foo") no longer returns null when "foo" is down. I haven't explored the distributed group state change listener and new session expiry behaviour yet but I will soon.

PS: I had some minor problems while testing. I will add an issue for that. Please check when you can.

Jan 13 2017 09:31
Never mind about the minor problems I mentioned, I couldn't reproduce them. I will create an issue if I encounter it again. FYI this is the related log:
java.lang.IllegalArgumentException: invalid code: 111
    at io.atomix.catalyst.serializer.Identifier.forCode( ~[catalyst-serializer-1.1.2.jar:na]
    at io.atomix.catalyst.serializer.Serializer.readObject( ~[catalyst-serializer-1.1.2.jar:na]
    at io.atomix.catalyst.serializer.Serializer.readObject( ~[catalyst-serializer-1.1.2.jar:na]
    at ~[copycat-server-1.2.0.jar:na]
    at ~[copycat-server-1.2.0.jar:na]
    at io.atomix.copycat.server.state.FollowerState.sendPollRequests( ~[copycat-server-1.2.0.jar:na]
    at io.atomix.copycat.server.state.FollowerState.lambda$resetHeartbeatTimeout$146( ~[copycat-server-1.2.0.jar:na]
    at io.atomix.copycat.server.state.FollowerState$$Lambda$60/ Source) ~[na:na]
    at io.atomix.catalyst.concurrent.Runnables.lambda$logFailure$2( ~[catalyst-concurrent-1.1.2.jar:na]
    at io.atomix.catalyst.concurrent.Runnables$$Lambda$17/ Source) [catalyst-concurrent-1.1.2.jar:na]
    at java.util.concurrent.Executors$ Source) [na:1.8.0_25]
    at Source) [na:1.8.0_25]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [na:1.8.0_25]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ Source) [na:1.8.0_25]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_25]
    at java.util.concurrent.ThreadPoolExecutor$ Source) [na:1.8.0_25]
    at Source) [na:1.8.0_25]