-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JdbcMetadataStore does not handle concurrent transactions correctly #3609
Comments
This looks more like this issue: #3576. Please, see the solution in the end. Probably you have the same problem. |
@artembilan: thank you very much for you input.
|
What is your Do I miss anything related to the application-level transaction management? |
I'm using Spring Boot and didn't configure a |
OK. It probably would be great if you are able to share with us a simple Spring Boot project which let us to reproduce issue and debug the situation. |
Perhaps we need to revise this issue for a similar fix we did in the So, this |
Versions
2.5.2
5.5.1
and5.5.2
11.2
and13
Describe the bug
I have following File Integration Flow setup in a Spring Boot App:
When I copy 500 files into the directory that is being polled, most of the are processed. But a couple of them are not, I can see a couple of exceptions like:
Although it looks like all files where processed correctly, when I query the
int_metadata_store
table, I can see that a couple of them have the value0
in themetadata_value
column. If I copy those files to the directory being polled again, they are processed again.Expected behavior
All files should be processed, no exceptions should be thrown and there should be no entries with
metadata_value
"0"int_metadata_store
table.Looks similar to the behavior described in #3282
The text was updated successfully, but these errors were encountered: