Skip to content
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

Install a dummy SIGHUP handler for non p2p mode #3896

Merged
merged 1 commit into from
Jun 4, 2022
Merged

Conversation

coot
Copy link
Contributor

@coot coot commented May 24, 2022

When sending SIGHUP handler, p2p will reload the configuration, while
non-p2p will exit. Instead of that we install a dummy handler, which
logs that topology reloading for non-p2p is not supported, which
prevents haskell runtime to use the default signal handler (which forces
the process to exit).

Fixes #3872.

@coot coot added the networking Issues and PRs related to networking label May 24, 2022
@coot coot requested a review from Jimbo4350 May 24, 2022 11:43
When sending SIGHUP handler, p2p will reload the configuration, while
non-p2p will exit.  Instead of that we install a dummy handler, which
logs that topology reloading for non-p2p is not supported, which
prevents haskell runtime to use the default signal handler (which forces
the process to exit).

Fixes #3872.
@coot
Copy link
Contributor Author

coot commented May 30, 2022

bors merge

iohk-bors bot added a commit that referenced this pull request May 30, 2022
3896: Install a dummy SIGHUP handler for non p2p mode r=coot a=coot

When sending SIGHUP handler, p2p will reload the configuration, while
non-p2p will exit.  Instead of that we install a dummy handler, which
logs that topology reloading for non-p2p is not supported, which
prevents haskell runtime to use the default signal handler (which forces
the process to exit).

Fixes #3872.


Co-authored-by: Marcin Szamotulski <coot@coot.me>
@coot coot self-assigned this May 30, 2022
@iohk-bors
Copy link
Contributor

iohk-bors bot commented May 30, 2022

This PR was included in a batch that successfully built, but then failed to merge into master. It will not be retried.

Additional information:

{"message":"Waiting on code owner review from deepfire, denisshevchenko, and/or jutaro.","documentation_url":"https://docs.github.com/articles/about-protected-branches"}

@coot
Copy link
Contributor Author

coot commented May 30, 2022

bors merge

iohk-bors bot added a commit that referenced this pull request May 30, 2022
3896: Install a dummy SIGHUP handler for non p2p mode r=coot a=coot

When sending SIGHUP handler, p2p will reload the configuration, while
non-p2p will exit.  Instead of that we install a dummy handler, which
logs that topology reloading for non-p2p is not supported, which
prevents haskell runtime to use the default signal handler (which forces
the process to exit).

Fixes #3872.


Co-authored-by: Marcin Szamotulski <coot@coot.me>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented May 30, 2022

Build failed:

@coot
Copy link
Contributor Author

coot commented Jun 1, 2022

bors merge

iohk-bors bot added a commit that referenced this pull request Jun 1, 2022
3896: Install a dummy SIGHUP handler for non p2p mode r=coot a=coot

When sending SIGHUP handler, p2p will reload the configuration, while
non-p2p will exit.  Instead of that we install a dummy handler, which
logs that topology reloading for non-p2p is not supported, which
prevents haskell runtime to use the default signal handler (which forces
the process to exit).

Fixes #3872.


Co-authored-by: Marcin Szamotulski <coot@coot.me>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 1, 2022

Timed out.

@coot
Copy link
Contributor Author

coot commented Jun 3, 2022

bors merge

iohk-bors bot added a commit that referenced this pull request Jun 3, 2022
3896: Install a dummy SIGHUP handler for non p2p mode r=coot a=coot

When sending SIGHUP handler, p2p will reload the configuration, while
non-p2p will exit.  Instead of that we install a dummy handler, which
logs that topology reloading for non-p2p is not supported, which
prevents haskell runtime to use the default signal handler (which forces
the process to exit).

Fixes #3872.


Co-authored-by: Marcin Szamotulski <coot@coot.me>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 3, 2022

Timed out.

@coot
Copy link
Contributor Author

coot commented Jun 4, 2022

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 4, 2022

Build succeeded:

@iohk-bors iohk-bors bot merged commit ec20745 into master Jun 4, 2022
@iohk-bors iohk-bors bot deleted the coot/SIGHUP branch June 4, 2022 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
networking Issues and PRs related to networking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] - SIGHUP causes full re-validation
5 participants