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

Attempt backport oldest first #4776

Open
wants to merge 12 commits into
base: ja_2030417_backport_subscription_opt_to_6_4
Choose a base branch
from

Commits on Apr 26, 2023

  1. Make WorkChunk handling transactional at state transitions. (#4621)

    - use a separate enum for the states - chunks have different transitions than instances.
    - use transactional update events for work-chunk state transitions
    - introduce spec-test to define behaviour of batch2 storage
    - replace synchronized facade with simpler ProxyUtil handler.
    - change job cancellation to db update query
    michaelabuckley authored and tadgh committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    428fb14 View commit details
    Browse the repository at this point in the history
  2. Cherry pick some pom fixes

    tadgh committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    670dd74 View commit details
    Browse the repository at this point in the history
  3. Use java event names for work chunk transitions. (#4658)

    Change work-chunk creation to be first event in state machine.
    michaelabuckley authored and tadgh committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    cc2d6a3 View commit details
    Browse the repository at this point in the history
  4. Batch stabilization (#4647)

    * Use java event names for work chunk transitions.
    
    * Cherry-pick d5ebd1f from rel_6_4
    
    Avoid fetching work-chunk data (#4622)
    
    * add end time to reduction step (#4640)
    
    * add end time to reduction step
    
    * add changelog
    
    ---------
    
    Co-authored-by: Long Ma <[email protected]>
    (cherry picked from commit 37f5e59)
    
    * Cancel processing
    
    Provide error message in cancelled jobs, and avoid transitions in final states.
    
    * Apply tx boundary to starting job and first chunk.
    
    * cleanup
    
    * Apply tx boundary to work chunk processing
    
    * Delete BatchWorkChunk
    
    * Introduce events for job create, and chunk dequeue
    
    * Apply tx boundary to chunk handler
    
    * Move instance cancellation to database
    
    * tx boundary around stats collection and completion
    
    * tx boundary around stats collection and completion
    
    * Extend tx boundary to error, fail, and cancel
    
    * Move failure into status calc
    
    * ERROR is not an "ended" state.
    
    * Revert generics cleanup to avoid noise
    
    * Avoid sending gated chunks twice.
    
    * Make no-data path safer.  Cleanup
    
    * Fix mock test for step advance.
    
    * Delete unsafe updateInstace() call
    
    * Cleanup
    
    * Changelog and notes
    
    * Fix cancel boundary.  Cleanups
    
    * Cleanup
    
    * Sort mongo chunks for stable paging.
    
    Other cleanup
    
    * Document error handling
    
    * Cleanup
    
    * Update hapi-fhir-jpaserver-test-utilities/src/main/java/ca/uhn/fhir/jpa/test/Batch2JobHelper.java
    
    Co-authored-by: StevenXLi <[email protected]>
    
    ---------
    
    Co-authored-by: longma1 <[email protected]>
    Co-authored-by: StevenXLi <[email protected]>
    3 people authored and tadgh committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    9e21415 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f20206a View commit details
    Browse the repository at this point in the history
  6. Fix up processor

    tadgh committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    bce71da View commit details
    Browse the repository at this point in the history
  7. Fix up processor

    tadgh committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    a581656 View commit details
    Browse the repository at this point in the history
  8. Fix up processor

    tadgh committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    70e295c View commit details
    Browse the repository at this point in the history
  9. Fix intermittent in batch2 tests (#4643)

    * Fix intermittent in batch2 tests
    
    * Add changelog
    
    * Test fix
    
    * Resolve intermittent
    
    * Reducer changes
    
    * Test fix
    
    * Test fixes
    
    * Resolve fixme
    
    * Fix changelog
    jamesagnew authored and tadgh committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    3100195 View commit details
    Browse the repository at this point in the history
  10. Resolve fixme

    jamesagnew committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    263f62b View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. Support _exportId for bulk exports. (#4781)

    * Full implementation, test, changelogs
    
    * Add changelogs
    
    * Add default method
    
    * Update hapi-fhir-storage-batch2-jobs/src/main/java/ca/uhn/fhir/batch2/jobs/export/WriteBinaryStep.java
    
    Co-authored-by: James Agnew <[email protected]>
    
    * Code Review Comments
    
    * Compilation failures
    
    ---------
    
    Co-authored-by: James Agnew <[email protected]>
    tadgh and jamesagnew committed May 1, 2023
    Configuration menu
    Copy the full SHA
    a06b622 View commit details
    Browse the repository at this point in the history
  2. add import

    tadgh committed May 1, 2023
    Configuration menu
    Copy the full SHA
    d35708b View commit details
    Browse the repository at this point in the history