-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(risedev): fixes and improvements for risedev-dev
running risingwave commands
#17586
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @BugenZhao and the rest of your teammates on Graphite |
@@ -138,11 +138,7 @@ where | |||
if !id.is_empty() { | |||
self.pb.set_prefix(id.clone()); | |||
self.id = Some(id.clone()); | |||
|
|||
// Remove the old status file if exists to avoid confusion. | |||
let status_file = self.status_dir.path().join(format!("{}.status", id)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
status_dir
is a temp dir. It cannot be the identical to the one in previous run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rubber stamp
Can't merge now as it essentially make Requires all tasks of #17351 to be done. |
c632be0
to
cf27a65
Compare
3d20d6b
to
869dfcb
Compare
cf27a65
to
6c07313
Compare
869dfcb
to
a466fce
Compare
6ec81c2
to
05e2ce9
Compare
955a90d
to
8de79d9
Compare
05e2ce9
to
6660205
Compare
Signed-off-by: Bugen Zhao <[email protected]>
6660205
to
ac9be58
Compare
Signed-off-by: Bugen Zhao <[email protected]>
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Several fixes and improvements for
risedev-dev
running risingwave commands.Let risingwave processes handle Ctrl-C and run shutdown logic, instead of signaling
tee
which kills risingwave abnormally.Keep colors when checking logs in
tmux
windows.Ignore writing to the status file if it is not present, which is normal when
risedev-dev
successfully finishes launching all components and the temporary status file is cleaned up.Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.