Skip to content

Conversation

@dmlloyd
Copy link
Member

@dmlloyd dmlloyd commented Sep 29, 2022

Create a centralized coordination point for suspend/resume coordination, with initial support for CRaC-style suspend/resume. At present, this PR only shows the API points and is not yet ready for integration.

TODO:

  • Update essential services to coordinate around the suspend/resume point.
  • Figure out where to put the hook to register the Resource.
  • Look at merging with, or removing, the existing CRaC integration with Vert.x web introduced by Add initial support of Project CRaC #23950.
  • Investigate eager pre-suspend class initialization based on the list of project classes (only in suspend/resume case).
  • Add a config flag to enable suspend/resume which causes PostResumeBuildItem to be consumed. Ensure that it is not possible to accidentally include the suspend step otherwise there will be problems.
  • Maybe meta-annotation support e.g. @Consume(PostResumeBuildItem.class) public @interface PostResume {}??

@dmlloyd
Copy link
Member Author

dmlloyd commented Oct 27, 2022

Superseded by #28867.

@dmlloyd dmlloyd closed this Oct 27, 2022
@quarkus-bot quarkus-bot bot added the triage/invalid This doesn't seem right label Oct 27, 2022
@dmlloyd dmlloyd deleted the sr branch October 27, 2022 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core triage/invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant