Skip to main content

Overview

The run command will execute the program listed after the double dash. It provides options for promoting the current node or for performing write forwarding using the HALT lock. See the migrations guide for details about promotion & write forwarding.

Usage

Arguments

Examples

Promote the local node to become the primary and then run Rails migrations:
Run Rails migrations on the /litefs/db database from any node and have those write forwarded back to the primary node: