For a batch job with partitioned step, the PartitionReducer's afterPartitionedStepCompletion gets ROLLBACK on normal completion. #9708
Labels
release bug
This bug is present in a released version of Open Liberty
release:20001
team:Batch
Java Batch (JSR352) batch features
Describe the bug
For a batch job with a partitioned step, with a PartitionReducer configured, during normal completion the reducer's
afterPartitionedStepCompletion
gets passed a PartitionStatus.ROLLBACK value even when a step completes normally.Steps to Reproduce
Define a partitioned step with a reducer configured, like:
and observe the value passed to MyReducer's
afterPartitionedStepCompletion(PartitionStatus status)
method upon normal completion.Expected behavior
For a successful execution, the status passed to the reducer in
afterPartitionedStepCompletion
would be COMMIT, and for a failing execution it would be ROLLBACKDiagnostic information:
The text was updated successfully, but these errors were encountered: