CSCfi / iow-ui

Interoperability workbench user interface
Other
3 stars 0 forks source link

Concurrent writes and reads with fuseki #539

Open mortterna opened 8 years ago

mortterna commented 8 years ago

After changing class id export model returns inconsistent data. https://jena.apache.org/documentation/notes/concurrency-howto.html

amiika commented 8 years ago

Added simple lock solution https://github.com/CSC-IT-Center-for-Science/iow-api/blob/master/src/main/java/com/csc/fi/ioapi/api/genericapi/ExportModel.java#L84

amiika commented 8 years ago

Works if thread is locked by one operation ... but what happens if multiple api calls / threads call the ExportGraph runnable?