Closed
Description
if i execute RedisConnectionCommands::ping
command via a redistemplate, then should this connection
variable to be reset to null in the callback method returnResourceForSpecificNode
?
if not, then when the destroy
callback was called druing spring exit , the connectionProvider
was already closed, calling connectionProvider.release(connection);
would result in exception :
Returned connection io.lettuce.core.cluster.StatefulRedisClusterConnectionImpl@2d3456b was either previously returned or does not belong to this connection provider
, did i understand right?