Uploaded image for project: 'Spring Batch'
  1. Spring Batch
  2. BATCH-1541

Make MapJobRepository work for multi-threaded steps and jobs

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.0.0
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:
      None

      Description

      Since only the update of the ExecutionContext in a Step is really sensitive to the transaction boundary, and in a multi-threaded step there is usually no state in the context it should be possible to tweak the Map*Dao to behave correctly in a concurrent environment. There are three things that break: updating a step execution in a multi-threaded step, saving a step execution in a multi-threaded split, and saving a job execution in a multi-threaded launcher.

        Attachments

          Activity

            People

            • Assignee:
              david_syer Dave Syer
              Reporter:
              david_syer Dave Syer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 6d
                6d
                Remaining:
                Time Spent - 2d Remaining Estimate - 4d
                4d
                Logged:
                Time Spent - 2d Remaining Estimate - 4d
                2d