Understanding rollbacks in new chunk-oriented processing model #5231
-
|
Hi, related to #5210 and a similar problem, i am trying to understand the rollback mechanism in the new chunk-oriented processing model. In the old / deprecated implementation a skipable exception in the writer triggers a rollback of the transaction and chunk scanning. I created a simple example: example.zip When running the ExampleTest with the old implementation, 3 rollbacks are triggered, Can someone explain to me why no rollbacks are done? I could not find a detailed documentation of the chunk scanning and rollback mechanism in the spring-batch ref doc. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Thank you for opening this discussion. That issue is actually a regression. The new implementation should rollback the transaction as in v5 but it was not doing that correctly. This was fixed in #5210 . |
Beta Was this translation helpful? Give feedback.
Thank you for opening this discussion. That issue is actually a regression. The new implementation should rollback the transaction as in v5 but it was not doing that correctly. This was fixed in #5210 .