save_and_exit

save_and_exit

When using in-memory replication with FTL stores, save the state of each server to disk and exit. Each server's state is written to a file named <FTL server name>.state in its FTL store-specific data directory. If a state file already exists in the directory, the server will first rename it as <FTL server name>.state.backup before writing the new state file.

This command should be used when all FTL servers have to be shut down. The YAML configuration of the FTL server cluster will need to be altered to instruct each of the servers to load its saved state upon restart.

This command is only relevant when using FTL stores with in_memory_replication enabled. See Shutting down and Restarting an In-Memory Cluster for more details.