Affects Version/s: None
I am using spring-data-redis 2.1.5.
When getting a connection from the LettuceConnectionFactory, I get a ClassCastException from LettuceConnectionFactory.SharedConnection#validateConnection.
The connection I created is StatefulRedisClusterConnection and I think the code below is wrong
And one more question.
I'm using LettucePoolingConnectionProvicer as the connectionProvider.
And the code under the validationConnection method seems to work incorrectly.
Because LettucePoolingConnectionProvicer#releae is called twice in a row.
In the first call, the pool is removed from poolRef, and in the second call, there is no pool and a PoolException exception is thrown.
Any help would be much appreciated.