make compatible with redis-sentinel