Close all the slaves connections. This is useful in chained replication * when we resync with our own master and want to force all our slaves to * resync with us as well. */
| 1490 | * when we resync with our own master and want to force all our slaves to |
| 1491 | * resync with us as well. */ |
| 1492 | void disconnectSlaves(void) { |
| 1493 | disconnectSlavesExcept(nullptr); |
| 1494 | } |
| 1495 | |
| 1496 | /* Check if there is any other slave waiting dumping RDB finished expect me. |
| 1497 | * This function is useful to judge current dumping RDB can be used for full |
no test coverage detected