ShaclSail used over REST API causes ERRORs Interrupted thread Thread[rdf4j-transaction-0,5,main] but thread is still alive after 1000 ms!
#4937
Labels
🐞 bug
issue is a bug
Current Behavior
When we wrapped our base sail into
ShaclSail
we started getting errors when transactioncommit
REST API requests are being processed:My understanding is that transaction
commit
callsShaclSailConnection
close()
which checks transaction owner: If it's not current thread it will try to close the owner thread.In case of REST API, the owner thread will be the tomcat thread that processed transaction
begin
request.Expected Behavior
ShaclSailConnection
not causing any errors when transactions are used via REST API.Steps To Reproduce
close
which checks transaction owner and if it's not current thread will try to close the owner producing following errors:and
Version
3.7.9
Are you interested in contributing a solution yourself?
Yes
Anything else?
I have not noticed this "stopping owner thread on close" logic in other Sails. What was the reason to add it to
ShaclSailConnection
?The text was updated successfully, but these errors were encountered: