Nikita Koksharov
Nikita Koksharov
Unable to reproduce the issue with the latest version and test below. ```java @Test public void testFailoverInCluster() throws Exception { RedisRunner master1 = new RedisRunner().port(6890).randomDir().nosave(); RedisRunner master2 = new RedisRunner().port(6891).randomDir().nosave();...
@sunwuxiang Does the snippet below resolve the issue? 
https://github.com/redisson/redisson/issues/5553#issuecomment-1880535555 Can you try with the latest version?
Which Redis vendor do you use? The actual problem that topology isn't refreshed.
Do you restart whole cluster 3-4 times?
When does the issue happen? at Redisson start moment?
Unable to reproduce. Below is the test. ```java testInCluster(client -> { for (int k = 0; k < 10; k++) { System.out.println("iteration " + k); Config config = client.getConfig(); config.useClusterServers()...
Fixed. Thanks for report
Getting same issue with the latest Kryo version ``` Caused by: com.esotericsoftware.kryo.io.KryoBufferUnderflowException: Buffer underflow. at com.esotericsoftware.kryo.io.Input.require(Input.java:221) at com.esotericsoftware.kryo.io.Input.readVarInt(Input.java:447) at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:145) at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:758) at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:869) at org.redisson.codec.Kryo5Codec$4.decode(Kryo5Codec.java:153) at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:454) at org.redisson.client.handler.CommandDecoder.decodeCommandBatch(CommandDecoder.java:308)...
It's a codec specific issue. https://github.com/FasterXML/jackson-databind/issues/2900 They tell that it was fixed in 2.13.0. Did you try it?