LAVIK.REPLICAOF

Configure native Lavik replication for a standalone node.

Server & administration · Example verified

Syntax covered here

LAVIK.REPLICAOF host port | NO ONE

Use LAVIK.REPLICAOF for a native Lavik upstream and REPLICAOF for a Redis upstream. This example tests NO ONE on a standalone primary. Meta-managed membership and failover are controlled through lavik-ctl; this command is not a replacement for cluster management.

Tested example & replies

Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.

# connection: default
> LAVIK.REPLICAOF NO ONE
"OK"