These are chat archives for atomix/atomix

22nd
Dec 2016
Andrius Dagys
@adagys
Dec 22 2016 16:30

Hey guys, I have an integration test that spins up a 3-node copycat cluster (server and client pairs), and I'm sometimes seeing one of the servers not being able to join the cluster. It just hangs forever.
Here's an except of the logs:

[DEBUG] 2016-12-22T15:56:44,357 [copycat-server-localhost/127.0.0.1:40344-copycat] FollowerState - localhost/127.0.0.1:40344 - Heartbeat timed out in PT1.155S
[INFO ] 2016-12-22T15:56:44,357 [copycat-server-localhost/127.0.0.1:40344-copycat] FollowerState - localhost/127.0.0.1:40344 - Polling members [ServerMember[type=ACTIVE, status=AVAILABLE, serverAddress=localhost/127.0.0.1:37365, clientAddress=null]]
[DEBUG] 2016-12-22T15:56:44,357 [copycat-server-localhost/127.0.0.1:40344-copycat] FollowerState - localhost/127.0.0.1:40344 - Polling ServerMember[type=ACTIVE, status=AVAILABLE, serverAddress=localhost/127.0.0.1:37365, clientAddress=null] for next term 1
[WARN ] 2016-12-22T15:56:44,359 [copycat-server-localhost/127.0.0.1:40344-copycat] FollowerState - localhost/127.0.0.1:40344 - cannot deserialize: unknown type

The current leader is at port 37365 and seems to be is up and running fine.
I'm slightly confused by the "cannot deserialize: unknown type", as that would pop up consistently and on all the servers if my custom types' serialization wasn't properly configured (?)

Any pointers appreciated!