Redis master slave switch may throw exception
Closed this issue · 0 comments
mindwind commented
Some cases may throw RedisDataException
try {
s.slaveof(m.host(), m.port());
} catch (RedisConnectionException e) {
LOG.warn("[CRAFT-ATOM-REDIS] {} slaveof {} failed", s.toString(), m.toString());
}