From fd38404ee07b935a2a99b67824211dbfad3f7958 Mon Sep 17 00:00:00 2001 From: Muhamad Awad Date: Thu, 1 Aug 2024 17:09:21 +0200 Subject: [PATCH] updating docs to drop using `--wipe` flag (#440) * updating docs to drop using `--wipe` flag * use instead of ${HOST} * Apply PR comments * apply PR comments --------- Co-authored-by: Muhamad Awad --- docs/develop/local_dev.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/develop/local_dev.mdx b/docs/develop/local_dev.mdx index c94b3592..1ea9808a 100644 --- a/docs/develop/local_dev.mdx +++ b/docs/develop/local_dev.mdx @@ -117,10 +117,10 @@ import clsx from "clsx";
Wiping Restate - To start the Restate Server from a clean slate and wipe ongoing invocations and K/V state: + To start the Restate Server from a clean slate, stop the server and then delete the data directory: ```shell - restate-server --wipe all + rm -rf / ```
@@ -146,7 +146,7 @@ import clsx from "clsx"; [Cancel](/operate/invocation#cancelling-invocations) a single invocation or a batch of invocations. Use `--kill` to [kill](/operate/invocation#killing-invocations) the invocation. - To remove all invocations, restart the server with `--wipe all`. + To remove all invocations, stop the server then do `rm -rf /`, which will effectively delete all state/data of the Restate server. ```shell restate invocation cancel @@ -167,7 +167,7 @@ import clsx from "clsx"; Clear the K/V state of a Virtual Object or Workflows. - To clear all state, restart the server with `--wipe all`. + To clear all state, stop the server then do `rm -rf /`, which will effectively delete all state/data of the Restate server. ```shell restate kv clear