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

Impl #44 - Add CRaC support #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fipro78
Copy link
Contributor

@fipro78 fipro78 commented Jun 27, 2024

This PR adds CRaC support to the jetty bundle by using the org.crac API.

It adapts

@AntonKozlov
Could you also have a look and provide some comment, if my assumption that the usage of org.crac API is without a risk here?

@AntonKozlov
Copy link

Hi @fipro78,

LGTM.

The resource is hard-referenced, the code for jetty is aligned with our examples (I'm not an expert there), so overall looks good.

Thank you!

@fipro78
Copy link
Contributor Author

fipro78 commented Oct 4, 2024

As discussed with @tjwatson and @stbischof I updated the PR to make the org.crac API optional at runtime.

I successfully tested:

  1. Runtime without org.crac
  2. Runtime with org.crac on a system that has no CRIU support
  3. Runtime with org.crac on a system with CRIU support

All cases work as expected. The failures in the checks seem to be not related to my work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants