-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Issue #11298]pulsar-daemon script support restart #11299
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
[Issue #11298]pulsar-daemon script support restart #11299
Conversation
|
Hi @eolivelli Could u please review this pr? |
eolivelli
left a comment
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.
Generally looks good.
What about stopping the daemon using '-force'?
Otherwise you are not guaranteed that the process is really killed
support '-force' argument as before in last commit |
|
/pulsarbot run-failure-checks |
hangc0276
left a comment
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.
Whether we should check exit code of stop before calling start method, avoiding stop failed and continue to call start.
|
/pulsarbot run-failure-checks |
283d053 to
c2b6630
Compare
c2b6630 to
edb9d64
Compare
|
/pulsarbot run-failure-checks |
@hangc0276 done pTAL |
|
/pulsarbot run-failure-checks |
|
Could you open a new PR to fix it? |
Fixes #11298
Motivation
Add ability to restart service for easy use
Modifications
In pulsar-daemon script, add restart
Verifying this change
Does this pull request potentially affect one of the following parts:
If
yeswas chosen, please highlight the changesDocumentation