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

Resolve 5818 Update Batch2 framework with GATE_WAITING state #5819

Open
wants to merge 16 commits into
base: 5745-ready-state-batch2
Choose a base branch
from

Conversation

TynerGjs
Copy link
Contributor

@TynerGjs TynerGjs commented Apr 3, 2024

What was done:

  • Implemented GATE_WAITING state for the batch2 state machine.
  • This will be the initial status for all workchunks of a gated job.
  • made compatible with the equivalent "legacy QUEUED" state in the Old batch2 implementation.
  • Updated corresponding docs.
  • added corresponding tests and changelog

- This will be the initial status for all workchunks of a gated job.
- made compatible with the equivalent "fake QUEUED" state in the Old batch2 implementation.
- Updated corresponding docs.
- added corresponding tests and changelog
Copy link

github-actions bot commented Apr 3, 2024

Formatting check succeeded!

…18-update-batch2-framework-with-gate_waiting-state

# Conflicts:
#	hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobInstanceProcessor.java
…18-update-batch2-framework-with-gate_waiting-state

# Conflicts:
#	hapi-fhir-storage-batch2-test-utilities/src/main/java/ca/uhn/hapi/fhir/batch2/test/IJobMaintenanceActions.java
#	hapi-fhir-storage-batch2-test-utilities/src/main/java/ca/uhn/hapi/fhir/batch2/test/IWorkChunkCommon.java
#	hapi-fhir-storage-batch2-test-utilities/src/main/java/ca/uhn/hapi/fhir/batch2/test/IWorkChunkStateTransitions.java
#	hapi-fhir-storage-batch2-test-utilities/src/main/java/ca/uhn/hapi/fhir/batch2/test/IWorkChunkStorageTests.java
- set first chunk to be always created in READY
Copy link
Contributor

@michaelabuckley michaelabuckley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

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.

None yet

3 participants