Skip to content

Multithreaded step reprocess chunk in violation of RetryPolicy [BATCH-2199] #1401

Open
@spring-projects-issues

Description

@spring-projects-issues

Andrea Polci opened BATCH-2199 and commented

Similar problem to BATCH-1724, but affecting FaultTolerantChunkProcessor instead of SimpleChunkProcessor.

When the step use FaultTolerantChunkProcessor but the exception is not one that need to be retried the chunk is retried.

For example if I add a skippable-exception to a step, this cause the FaultTolerantChunkProcessor to be used. In the single threaded case any exception will not cause a retry because the retry limit is 0, but when the step is multithreaded the failing chunk will be reprocessed for the same problem that has been fixed in SimpleChunkProcessor.


Affects: 2.2.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions