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
Copy file name to clipboardExpand all lines: spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ public void update(StepExecution stepExecution) {
163
163
Assert.state(latestStepExecution != null,
164
164
"StepExecution with id " + stepExecution.getId() + "not found. Batch metadata state may be corrupted.");
165
165
166
-
if (latestStepExecution.getJobExecution().isStopped()) {
166
+
if (latestStepExecution.getJobExecution().isStopped() || latestStepExecution.getJobExecution().isStopping()) {
0 commit comments