You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix exhausted retry handling with non skippable exceptions
Before this commit, chunk scanning was unconditionally preformed
when the retry policy is exhausted and non skippable exceptions
are configured. This resulted in duplicate item writes which is not
intended.
This commit fixes that by checking the skip policy before scanning
the chunk on an exhausted retry policy.
Resolves#5091
Copy file name to clipboardExpand all lines: spring-batch-core/src/main/java/org/springframework/batch/core/step/skip/LimitCheckingExceptionHierarchySkipPolicy.java
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,9 @@ public LimitCheckingExceptionHierarchySkipPolicy(Set<Class<? extends Throwable>>
Copy file name to clipboardExpand all lines: spring-batch-core/src/test/java/org/springframework/batch/core/step/item/ChunkOrientedStepFaultToleranceIntegrationTests.java
0 commit comments