Skip to content

Impl #44 - Add CRaC support#45

Open
fipro78 wants to merge 1 commit into
eclipse-osgi-technology:mainfrom
fipro78:main
Open

Impl #44 - Add CRaC support#45
fipro78 wants to merge 1 commit into
eclipse-osgi-technology:mainfrom
fipro78:main

Conversation

@fipro78
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Aug 5, 2025

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