These are chat archives for atomix/atomix

Dec 2016
Andrius Dagys
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/] FollowerState - localhost/ - Heartbeat timed out in PT1.155S
[INFO ] 2016-12-22T15:56:44,357 [copycat-server-localhost/] FollowerState - localhost/ - Polling members [ServerMember[type=ACTIVE, status=AVAILABLE, serverAddress=localhost/, clientAddress=null]]
[DEBUG] 2016-12-22T15:56:44,357 [copycat-server-localhost/] FollowerState - localhost/ - Polling ServerMember[type=ACTIVE, status=AVAILABLE, serverAddress=localhost/, clientAddress=null] for next term 1
[WARN ] 2016-12-22T15:56:44,359 [copycat-server-localhost/] FollowerState - localhost/ - 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!