Skip to content

Add CRaC support for instant server restarts #13540

@bl791

Description

@bl791

Is your feature request related to a problem?

CRIU checkpoint/restore doesn't work with Paper (due to segfaults + issues with JVM). This makes it impossible to snapshot a running server and restore it later.

Describe the solution you'd like.

Add support for CRaC. This would require implementing org.crac.Resource handlers to properly close resources (region files, network, session locks) before checkpoint and reopen them after restore. Spring Boot, Micronaut, and Quarkus have all added CRaC support with great results.

Describe alternatives you've considered.

  • Raw CRIU - segfaults
  • Podman - wraps CRIU

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution: won't fixIssue will not be resolved or feature not added.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions