Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
EOFException when using PagingPredicate with Kryo in v3.8.7 #13147
Hello, I am not sure if this issue report belongs to here or to Kryo's github but I'm sure you will help me. I am getting the following exception when using
Thank you for any explanation.
Stacktrace from the client:
The cluster is simply defined as follows:
The client including the
And last is the serializer:
I believe the issue is caused by Kryo being too eager when consuming input stream during deserialization. This leads to a stream corruption. See this issue for details: #6781
A possible solution is chunked streams which forces Kryo to read only what it belong to it. See this as an example: https://github.com/jerrinot/subzero/blob/master/subzero-core/src/main/java/info/jerrinot/subzero/internal/strategy/KryoStrategy.java#L64-L81