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
Hi
Update to Spring Boot 2.0 and use Spring Boot Batch.
But Sprinb Boot. I have a part that works differently than 1.5 (Spring Batch 3.0).
(Maybe the bug is right)
As far as I know, if there is a failed history in Spring Batch, when the same batch job is run
I know that you are using the job parameter of the failed job.
However, I know that if the same key and another value are passed to the Job parameter, it will be executed with the new value replaced.
But now it is not the latest version.
If there is a failure, the new value of the same key is not changed, and the job parameter of the failed job is always used.
So, if you use the latest version of Batch now, you should always delete the job meta table if there are any jobs that failed.
Otherwise, no matter how you change the Job parameter, only the old failed Job parameter will be used.
I found a problem in the Spring Batch code and sent a PR.
Spring Batch Github does not have an issue tab, so leave it here
Please share the review once you get in touch.
I have a lot of difficulties developing the service now.
The text was updated successfully, but these errors were encountered:
jojoldu
changed the title
Spring Boot Batch 2.0.4 (Spring Batch 4.0.1) Job parameter
Bug - Spring Boot Batch 2.0.4 (Spring Batch 4.0.1) Job parameter Overwrite
Aug 10, 2018
Uh oh!
There was an error while loading. Please reload this page.
Hi
Update to Spring Boot 2.0 and use Spring Boot Batch.
But Sprinb Boot. I have a part that works differently than 1.5 (Spring Batch 3.0).
(Maybe the bug is right)
As far as I know, if there is a failed history in Spring Batch, when the same batch job is run
I know that you are using the job parameter of the failed job.
However, I know that if the same key and another value are passed to the Job parameter, it will be executed with the new value replaced.
But now it is not the latest version.
If there is a failure, the new value of the same key is not changed, and the job parameter of the failed job is always used.
So, if you use the latest version of Batch now, you should always delete the job meta table if there are any jobs that failed.
Otherwise, no matter how you change the Job parameter, only the old failed Job parameter will be used.
I found a problem in the Spring Batch code and sent a PR.
Spring Batch Github does not have an issue tab, so leave it here
Please share the review once you get in touch.
I have a lot of difficulties developing the service now.
The text was updated successfully, but these errors were encountered: