REPLICAOFMake this server a replica of another, or promote it with NO ONE.
| 構文 | REPLICAOF host port | NO ONE |
| グループ | replication |
| 引数の数 | 3 |
| 導入バージョン | 1.0.0 |
| フラグ | write, admin |
| 計算量 | O(1) at the command; the full resync that follows is O(N) in the background |
| Redis 互換性 | differs: the port argument is the primary's REPLICATION port base, not its client port (the default base is client port + 10000); chain replication is rejected |