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

Implement USR2 signal handler #4356

Closed
wants to merge 2 commits into from

Conversation

johnrwatson
Copy link
Contributor

@johnrwatson johnrwatson commented Aug 19, 2024

Implements USR2 signal interpreter on a new tokio thread which can then be used by the applications to run custom business logic like:

  • Go into maintenance mode/take yourself out of the working pool
  • Change application behaviour on an individual node basis
  • Debug out current state of running applications/like a statuscheck

Initially, we can use this signal handler to move a node out of the working pool/for maintenance mode to prevent write corruption while updating the application binaries.

With this PR, it just logs out a message after the message has been caught successfully


chore: Fixes minor variable-naming issue within rebaser which was inconsistent based on the other binaries.

@github-actions github-actions bot added A-sdf Area: Primary backend API service [Rust] A-veritech Area: Task execution backend service [Rust] A-cyclone Area: Function execution engine [Rust] A-telemetry-application-rs A-pinga A-rebaser labels Aug 19, 2024
@johnrwatson
Copy link
Contributor Author

Superseeding with new branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cyclone Area: Function execution engine [Rust] A-pinga A-rebaser A-sdf Area: Primary backend API service [Rust] A-telemetry-application-rs A-veritech Area: Task execution backend service [Rust]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant