Skip to content

Commit 36064ff

Browse files
committed
support partial cluster teardown
1 parent 50ad62e commit 36064ff

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
@@ -624,6 +624,17 @@ alias = "kill-risedev"
624624
[tasks.k]
625625
alias = "kill-risedev"
626626

627+
[tasks.kill-risingwave-components]
628+
category = "RiseDev - Start/Stop"
629+
description = "Kill RisingWave components only."
630+
script = '''
631+
#!/usr/bin/env bash
632+
633+
tmux list-windows -F '#{window_name} #{pane_id}' \
634+
| grep -E '(compute|meta|frontend|compactor|connector)' \
635+
| sed -E 's/.* (%[0-9])/\1/' | xargs -I {} tmux send-keys -t {} C-c C-d
636+
'''
637+
627638
[tasks.down]
628639
category = "RiseDev - Start/Stop"
629640
description = "Kill RisingWave dev cluster and clean the data"

0 commit comments

Comments
 (0)