-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Remove PID file at the very end #18526
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
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
cvengler
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.
Concept ACK with exception to move the done LogPrintf
b2486a3 to
7fcdec0
Compare
|
Updated b2486a3 -> 7fcdec0 (pr18526.01 -> pr18526.02, diff):
|
cvengler
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.
utACK 7fcdec0
|
ACK 7fcdec0 |
promag
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.
Code review ACK 7fcdec0.
theStack
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.
Code review ACK 7fcdec0
7fcdec0 Remove PID file at the very end (Hennadii Stepanov) Pull request description: While reproducing the bug from bitcoin#18517, I've noticed that the `bitcoind.pid` file has already been removed when the `bitcoind` hangs. This PR makes `Shutdown()` keep the `bitcoind.pid` file available until the end. ACKs for top commit: MarcoFalke: ACK 7fcdec0 emilengler: utACK 7fcdec0 promag: Code review ACK 7fcdec0. theStack: Code review ACK 7fcdec0 Tree-SHA512: 9732ef34e137dbee70a06d922b316b8ea7b9a1c959cf8861b6940cd789336dc19ee468a4c3a28d95d1458076a48270c676b0ff27fec30cf57eced6ddab0a2a9b
Summary: > While reproducing the bug from #18517, I've noticed that the bitcoind.pid file has already been removed when the bitcoind hangs. > This PR makes Shutdown() keep the bitcoind.pid file available until the end. This is a backport of Core [[bitcoin/bitcoin#18526 | PR18526]] Test Plan: `ninja all check-all` Reviewers: #bitcoin_abc, majcosta Reviewed By: #bitcoin_abc, majcosta Subscribers: majcosta Differential Revision: https://reviews.bitcoinabc.org/D8910
While reproducing the bug from #18517, I've noticed that the
bitcoind.pidfile has already been removed when thebitcoindhangs.This PR makes
Shutdown()keep thebitcoind.pidfile available until the end.