Skip to content

Commit

Permalink
use <NODE_NAME> instead of ${HOST}
Browse files Browse the repository at this point in the history
  • Loading branch information
muhamadazmy committed Aug 1, 2024
1 parent 4868851 commit 9a4d53b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/develop/local_dev.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ import clsx from "clsx";
To start the Restate Server from a clean slate, stop the server then wipe ongoing invocations and K/V state:

```shell
rm -rf <BASE_DIR>/${HOST}
rm -rf <BASE_DIR>/<NODE_NAME>
```

</details>
Expand All @@ -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, stop the server then do `rm -rf <BASE_DIR>/${HOST}`.
To remove all invocations, stop the server then do `rm -rf <BASE_DIR>/<NODE_NAME>`.

```shell
restate invocation cancel <INVOCATION_ID>
Expand All @@ -167,7 +167,7 @@ import clsx from "clsx";
<CH.Scrollycoding className={clsx("single-item", "short-code")}>

Clear the K/V state of a Virtual Object or Workflows.
To clear all state, stop the server then do `rm -rf <BASE_DIR>/${HOST}`.
To clear all state, stop the server then do `rm -rf <BASE_DIR>/<NODE_NAME>`.

```shell
restate kv clear <OBJECT_OR_WORKFLOW_NAME>
Expand Down

0 comments on commit 9a4d53b

Please sign in to comment.