Skip to content

Commit 018114f

Browse files
committed
support partial cluster teardown
1 parent 2e33c91 commit 018114f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Makefile.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,17 @@ alias = "kill-risedev"
529529
[tasks.k]
530530
alias = "kill-risedev"
531531

532+
[tasks.kill-risingwave-components]
533+
category = "RiseDev - Start/Stop"
534+
description = "Kill RisingWave components only."
535+
script = '''
536+
#!/usr/bin/env bash
537+
538+
tmux list-windows -F '#{window_name} #{pane_id}' \
539+
| grep -E '(compute|meta|frontend|compactor|connector)' \
540+
| sed -E 's/.* (%[0-9])/\1/' | xargs -I {} tmux send-keys -t {} C-c C-d
541+
'''
542+
532543
[tasks.down]
533544
category = "RiseDev - Start/Stop"
534545
description = "Kill RisingWave dev cluster and clean the data"

0 commit comments

Comments
 (0)