↓ 1 callersMethodslaveofNoOneSLAVEOF NO ONE will stop replication, turning the server into a MASTER, but will not discard the replication. So, if the old master stops working, it
src/main/java/redis/clients/addb_jedis/commands/BasicCommands.java:127